From d1b123a4da2c51f82011841000949322e05ecba5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Sep 2014 13:56:21 +0300 Subject: Remove processLangReuqest. --- src/net/tmwa/npchandler.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/net/tmwa/npchandler.cpp') 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); -- cgit v1.2.3-70-g09d2