diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-25 18:24:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-25 18:24:40 +0300 |
commit | 3dd279181c4eee649dabf57fae9d98dde666489a (patch) | |
tree | c68cfe7b0bee6c98e482c3f41f09b7097aca7d7f /src/net/tmwa | |
parent | 56808acbf7824832864fffc84ef05b00de5f2df6 (diff) | |
download | manaverse-3dd279181c4eee649dabf57fae9d98dde666489a.tar.gz manaverse-3dd279181c4eee649dabf57fae9d98dde666489a.tar.bz2 manaverse-3dd279181c4eee649dabf57fae9d98dde666489a.tar.xz manaverse-3dd279181c4eee649dabf57fae9d98dde666489a.zip |
Allow close npc dialog from npc commands.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); |