From e1ee9ce53bd02f46c294b3aed83adeb737f2677b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 31 Oct 2011 02:40:17 +0300 Subject: Stop moving if npc dialog is showed. --- src/net/tmwa/npchandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/tmwa/npchandler.cpp') diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index f80dd6e69..1c2654087 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -213,6 +213,8 @@ int NpcHandler::getNpc(Net::MessageIn &msg, bool haveLength) else { mDialog = new NpcDialog(npcId); + if (player_node) + player_node->stopWalking(false); Wrapper wrap; wrap.dialog = mDialog; mNpcDialogs[npcId] = wrap; -- cgit v1.2.3-70-g09d2