summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-28 23:22:51 +0000
committerIra Rice <irarice@gmail.com>2008-10-28 23:22:51 +0000
commitf50e0ea375bf9053b04a9b0349ca73caf7a08ba4 (patch)
treee6b894c3f86de0e855f819ae79ae2e914bfa004b
parentd532bc32e16c906dc6a88b3e45200f09e5f666f7 (diff)
downloadmana-f50e0ea375bf9053b04a9b0349ca73caf7a08ba4.tar.gz
mana-f50e0ea375bf9053b04a9b0349ca73caf7a08ba4.tar.bz2
mana-f50e0ea375bf9053b04a9b0349ca73caf7a08ba4.tar.xz
mana-f50e0ea375bf9053b04a9b0349ca73caf7a08ba4.zip
Removed a redundant line that wasn't doing anything. Should have taken a
minute more to check it over thouroughly first.
-rw-r--r--src/net/npchandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net/npchandler.cpp b/src/net/npchandler.cpp
index 811372fa..70f04271 100644
--- a/src/net/npchandler.cpp
+++ b/src/net/npchandler.cpp
@@ -72,7 +72,6 @@ void NPCHandler::handleMessage(MessageIn *msg)
case SMSG_NPC_CLOSE:
id = msg->readInt32();
- dynamic_cast<NPC*>(beingManager->findBeing(id));
if (current_npc == dynamic_cast<NPC*>(beingManager->findBeing(id)))
current_npc = NULL;
break;