From 3dd279181c4eee649dabf57fae9d98dde666489a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Jan 2012 18:24:40 +0300 Subject: Allow close npc dialog from npc commands. --- src/net/tmwa/npchandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index eed10ab7c..d86c64a96 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -288,6 +288,9 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg, int npcId) viewport->moveCameraRelative(x, y); } break; + case 5: + closeDialog(npcId); + break; default: logger->log("unknown npc command: %d", cmd); -- cgit v1.2.3-70-g09d2