summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.cpp
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/tmwa/npchandler.cpp
parent4b0caea6389ab789ff3ae3a267b9002f8a21e8c3 (diff)
downloadmanaplus-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.tar.gz
manaplus-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.tar.bz2
manaplus-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.tar.xz
manaplus-4ead5c9f65ffbf1de9b0cb60cae06b116badbced.zip
Close npc and other dialogs if reconnecting.
Also save extra layers if network error.
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r--src/net/tmwa/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index 84fe1789c..22f4c7687 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -112,7 +112,7 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
msg.readString(msg.getLength() - 8);
break;
- case SMSG_NPC_CLOSE:
+ case SMSG_NPC_CLOSE:
// Show the close button
if (dialog)
dialog->showCloseButton();