summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-02 22:15:55 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-02 22:15:55 +0200
commit4ead5c9f65ffbf1de9b0cb60cae06b116badbced (patch)
treebc94093b90e7b4d3168259b7404ae2f6236f3925 /src/net/npchandler.h
parent4b0caea6389ab789ff3ae3a267b9002f8a21e8c3 (diff)
downloadmv-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.tar.gz
mv-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.tar.bz2
mv-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.tar.xz
mv-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.zip
Close npc and other dialogs if reconnecting.
Also save extra layers if network error.
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index 1b08a83ec..e12cd9422 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -59,6 +59,8 @@ class NpcHandler
virtual void sellItem(int beingId, int itemId, int amount) = 0;
virtual void endShopping(int beingId) = 0;
+
+ virtual void clearDialogs() = 0;
};
} // namespace Net