diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-08 13:56:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-08 13:56:21 +0300 |
commit | d1b123a4da2c51f82011841000949322e05ecba5 (patch) | |
tree | 110dc78af88ce8436f388f907fc6c0b22d14b514 /src/net/tmwa/npchandler.cpp | |
parent | 1a21f967e71660f9c48b7cbd93e315ff40316994 (diff) | |
download | plus-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.cpp | 8 |
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); |