From 6930045257ca767dbfc095f95a440028d5b2213e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 Feb 2015 00:12:37 +0300 Subject: Restore camera position after force closed npc dialog. --- src/net/ea/npchandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2