summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-08 13:50:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-08 13:50:18 +0300
commit1a21f967e71660f9c48b7cbd93e315ff40316994 (patch)
tree97b4cb2764ab7c0690c73241e1f833df1b0a991f /src/net/tmwa
parentf6be620b3f688a4ef4bb3983d9d5fe8afef7f013 (diff)
downloadmv-1a21f967e71660f9c48b7cbd93e315ff40316994.tar.gz
mv-1a21f967e71660f9c48b7cbd93e315ff40316994.tar.bz2
mv-1a21f967e71660f9c48b7cbd93e315ff40316994.tar.xz
mv-1a21f967e71660f9c48b7cbd93e315ff40316994.zip
Move processLangReuqest from tmwa namespace into ea.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/npchandler.cpp9
-rw-r--r--src/net/tmwa/npchandler.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp
index 4c96eac21..5339666be 100644
--- a/src/net/tmwa/npchandler.cpp
+++ b/src/net/tmwa/npchandler.cpp
@@ -33,8 +33,6 @@
#include "net/ea/eaprotocol.h"
-#include "utils/langs.h"
-
#include "debug.h"
extern Net::NpcHandler *npcHandler;
@@ -345,13 +343,6 @@ void NpcHandler::processNpcCommand(Net::MessageIn &msg)
}
}
-void NpcHandler::processLangReuqest(Net::MessageIn &msg A_UNUSED,
- const int npcId)
-{
- mRequestLang = false;
- stringInput(npcId, getLangSimple());
-}
-
void NpcHandler::processChangeTitle(Net::MessageIn &msg)
{
const int npcId = getNpc(msg);
diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h
index a7684ff07..aeb1410e3 100644
--- a/src/net/tmwa/npchandler.h
+++ b/src/net/tmwa/npchandler.h
@@ -69,8 +69,6 @@ class NpcHandler final : public MessageHandler, public Ea::NpcHandler
void processNpcCommand(Net::MessageIn &msg);
- void processLangReuqest(Net::MessageIn &msg, const int npcId);
-
void processChangeTitle(Net::MessageIn &msg);
};