summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-08 13:56:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-08 13:56:21 +0300
commitd1b123a4da2c51f82011841000949322e05ecba5 (patch)
tree110dc78af88ce8436f388f907fc6c0b22d14b514 /src/net/tmwa/npchandler.cpp
parent1a21f967e71660f9c48b7cbd93e315ff40316994 (diff)
downloadplus-d1b123a4da2c51f82011841000949322e05ecba5.tar.gz
plus-d1b123a4da2c51f82011841000949322e05ecba5.tar.bz2
plus-d1b123a4da2c51f82011841000949322e05ecba5.tar.xz
plus-d1b123a4da2c51f82011841000949322e05ecba5.zip
Remove processLangReuqest.
Diffstat (limited to 'src/net/tmwa/npchandler.cpp')
-rw-r--r--src/net/tmwa/npchandler.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index 5339666be..81b1b9222 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -88,14 +88,8 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
break;
case SMSG_NPC_STR_INPUT:
- {
- const int npcId = getNpc(msg);
- if (mRequestLang)
- processLangReuqest(msg, npcId);
- else
- processNpcStrInput(msg);
+ processNpcStrInput(msg);
break;
- }
case SMSG_NPC_COMMAND:
processNpcCommand(msg);