diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-16 14:41:24 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-16 15:42:48 -0700 |
commit | d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c (patch) | |
tree | d02c3e0451df5d997e841a865943d411f1dc786e /src/net | |
parent | 4924e4a50ae31c30f783285f6e10ac3651c1e6e8 (diff) | |
download | mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.gz mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.bz2 mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.xz mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.zip |
Fixed up NPC dialogs to behave more like eAthena expects.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/npchandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/npchandler.cpp b/src/net/npchandler.cpp index 8425a215..8ca529c8 100644 --- a/src/net/npchandler.cpp +++ b/src/net/npchandler.cpp @@ -79,8 +79,7 @@ void NPCHandler::handleMessage(MessageIn *msg) case SMSG_NPC_CLOSE: id = msg->readInt32(); - if (current_npc == dynamic_cast<NPC*>(beingManager->findBeing(id))) - current_npc = NULL; + current_npc = dynamic_cast<NPC*>(beingManager->findBeing(id)); break; case SMSG_NPC_NEXT: |