diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-27 19:58:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-27 19:58:59 +0300 |
commit | 2dbb62e760853f88a19e6e783870de156d52f8c6 (patch) | |
tree | 45bdc2d1de608a9f6580bd183c515f4282dcdfc7 /src/net/eathena/chatrecv.cpp | |
parent | a23b30e3a3051393c8abd309be7376daf699a527 (diff) | |
download | manaplus-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.gz manaplus-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.bz2 manaplus-2dbb62e760853f88a19e6e783870de156d52f8c6.tar.xz manaplus-2dbb62e760853f88a19e6e783870de156d52f8c6.zip |
Move receive code from mercenaryhandler into separate file.
Diffstat (limited to 'src/net/eathena/chatrecv.cpp')
-rw-r--r-- | src/net/eathena/chatrecv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/chatrecv.cpp b/src/net/eathena/chatrecv.cpp index 69785731b..f058593c9 100644 --- a/src/net/eathena/chatrecv.cpp +++ b/src/net/eathena/chatrecv.cpp @@ -38,11 +38,11 @@ #include "gui/widgets/tabs/chat/chattab.h" -#include "net/mercenaryhandler.h" #include "net/serverfeatures.h" #include "net/ea/chatrecv.h" +#include "net/eathena/mercenaryrecv.h" #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" @@ -130,7 +130,7 @@ void ChatRecv::processFormatMessage(Net::MessageIn &msg) std::string chatMsg; if (msgId >= 1266 && msgId <= 1269) { - mercenaryHandler->handleMercenaryMessage(msgId - 1266); + MercenaryRecv::handleMercenaryMessage(msgId - 1266); return; } switch (msgId) |