diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-02 00:12:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-02 00:12:37 +0300 |
commit | 6930045257ca767dbfc095f95a440028d5b2213e (patch) | |
tree | c6e087fb14f380097f7a73d4706390887f186805 | |
parent | 65cd527ac21a70617633d4023f9af6503931bbbb (diff) | |
download | manaverse-6930045257ca767dbfc095f95a440028d5b2213e.tar.gz manaverse-6930045257ca767dbfc095f95a440028d5b2213e.tar.bz2 manaverse-6930045257ca767dbfc095f95a440028d5b2213e.tar.xz manaverse-6930045257ca767dbfc095f95a440028d5b2213e.zip |
Restore camera position after force closed npc dialog.
-rw-r--r-- | src/net/ea/npchandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp index b99e7154a..d35cc5d60 100644 --- a/src/net/ea/npchandler.cpp +++ b/src/net/ea/npchandler.cpp @@ -161,6 +161,8 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg) } break; case 5: // close dialog + if (mDialog) + mDialog->restoreCamera(); npcHandler->closeDialog(npcId); break; case 6: // show avatar |