summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-01 14:16:05 -0700
committerJared Adams <jaxad0127@gmail.com>2010-03-01 14:16:05 -0700
commit3acb148b6d5fe3b342e4397e2c7de020de6005ff (patch)
tree8c16dd1af54d0a250ade6b4f28d7bfc90f1d5d59 /src/net
parent452b02cb1b6e1675323d89e5f2c4946b2868a584 (diff)
downloadmana-3acb148b6d5fe3b342e4397e2c7de020de6005ff.tar.gz
mana-3acb148b6d5fe3b342e4397e2c7de020de6005ff.tar.bz2
mana-3acb148b6d5fe3b342e4397e2c7de020de6005ff.tar.xz
mana-3acb148b6d5fe3b342e4397e2c7de020de6005ff.zip
Stop processing for next/close with no dialog
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/npchandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 06a39045..dfd56cf1 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -72,10 +72,12 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
if (msg.getId() == SMSG_NPC_CLOSE)
{
closeDialog(npcId);
+ return;
}
else if (msg.getId() == SMSG_NPC_NEXT)
{
nextDialog(npcId);
+ return;
}
else
{