From 1a21f967e71660f9c48b7cbd93e315ff40316994 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Sep 2014 13:50:18 +0300 Subject: Move processLangReuqest from tmwa namespace into ea. --- src/net/ea/npchandler.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/net/ea/npchandler.cpp') diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp index 05f12c2bb..5a2140f7a 100644 --- a/src/net/ea/npchandler.cpp +++ b/src/net/ea/npchandler.cpp @@ -26,6 +26,8 @@ #include "net/messagein.h" +#include "utils/langs.h" + #include "debug.h" namespace Ea @@ -114,4 +116,11 @@ void NpcHandler::processNpcStrInput(Net::MessageIn &msg A_UNUSED) mDialog->textRequest(""); } +void NpcHandler::processLangReuqest(Net::MessageIn &msg A_UNUSED, + const int npcId) +{ + mRequestLang = false; + stringInput(npcId, getLangSimple()); +} + } // namespace Ea -- cgit v1.2.3-60-g2f50