summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp
index af90c6fd6..530ba0416 100644
--- a/src/net/eathena/npchandler.cpp
+++ b/src/net/eathena/npchandler.cpp
@@ -67,32 +67,32 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
switch (msg.getId())
{
case SMSG_NPC_CHOICE:
- npcId = getNpc(msg, true);
+ getNpc(msg, true);
processNpcChoice(msg);
break;
case SMSG_NPC_MESSAGE:
- npcId = getNpc(msg, true);
+ getNpc(msg, true);
processNpcMessage(msg);
break;
case SMSG_NPC_CLOSE:
- npcId = getNpc(msg, false);
+ getNpc(msg, false);
processNpcClose(msg);
break;
case SMSG_NPC_NEXT:
- npcId = getNpc(msg, false);
+ getNpc(msg, false);
processNpcNext(msg);
break;
case SMSG_NPC_INT_INPUT:
- npcId = getNpc(msg, false);
+ getNpc(msg, false);
processNpcIntInput(msg);
break;
case SMSG_NPC_STR_INPUT:
- npcId = getNpc(msg, false);
+ getNpc(msg, false);
processNpcStrInput(msg);
break;
@@ -101,7 +101,7 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
break;
case SMSG_NPC_VIEWPOINT:
- npcId = getNpc(msg, true);
+ getNpc(msg, true);
processNpcViewPoint(msg, npcId);
break;