summaryrefslogtreecommitdiff
path: root/src/net/npchandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-09 13:26:59 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-09 13:28:24 -0600
commitd605691a3fe219cde175eb68239bea91ae2d91fd (patch)
tree7386503438bf4590f6f7a9bdfd7a6a54ee6982a0 /src/net/npchandler.cpp
parentdf1c392c03202866a809facefb378a12204a7c94 (diff)
downloadmana-d605691a3fe219cde175eb68239bea91ae2d91fd.tar.gz
mana-d605691a3fe219cde175eb68239bea91ae2d91fd.tar.bz2
mana-d605691a3fe219cde175eb68239bea91ae2d91fd.tar.xz
mana-d605691a3fe219cde175eb68239bea91ae2d91fd.zip
Send the correct packet for the NPC close button
Both packets do the same, but we should be explicit anyways. Also, seperate out NPC client packets.
Diffstat (limited to 'src/net/npchandler.cpp')
-rw-r--r--src/net/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/npchandler.cpp b/src/net/npchandler.cpp
index 487b358f..08ea8506 100644
--- a/src/net/npchandler.cpp
+++ b/src/net/npchandler.cpp
@@ -78,7 +78,7 @@ void NPCHandler::handleMessage(MessageIn *msg)
npcTextDialog->showCloseButton();
// Otherwise, move on as an empty dialog doesn't help
else
- npcTextDialog->nextDialog(id);
+ npcTextDialog->closeDialog(id);
break;
case SMSG_NPC_NEXT: