summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 21:40:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 21:40:35 +0300
commit09b39a5ea31dedbaff19ba1030f08809f4d61617 (patch)
tree74af9a9692714429a1b2ea3f76818043f021ddb4 /src/net/tmwa
parent16a57526fbe271bd067cfa4ec44f2da9494bfa1f (diff)
downloadmv-09b39a5ea31dedbaff19ba1030f08809f4d61617.tar.gz
mv-09b39a5ea31dedbaff19ba1030f08809f4d61617.tar.bz2
mv-09b39a5ea31dedbaff19ba1030f08809f4d61617.tar.xz
mv-09b39a5ea31dedbaff19ba1030f08809f4d61617.zip
Add empty map handler.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/generalhandler.cpp3
-rw-r--r--src/net/tmwa/generalhandler.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 921b30f7a..f18940630 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -55,6 +55,7 @@
#include "net/tmwa/itemhandler.h"
#include "net/tmwa/loginhandler.h"
#include "net/tmwa/mailhandler.h"
+#include "net/tmwa/maphandler.h"
#include "net/tmwa/markethandler.h"
#include "net/tmwa/mercenaryhandler.h"
#include "net/tmwa/network.h"
@@ -115,6 +116,7 @@ GeneralHandler::GeneralHandler() :
mFriendsHandler(new FriendsHandler),
mHomunculusHandler(new HomunculusHandler),
mMailHandler(new MailHandler),
+ mMapHandler(new MarketHandler),
mMarketHandler(new MarketHandler),
mMercenaryHandler(new MercenaryHandler),
mSearchStoreHandler(new SearchStoreHandler),
@@ -247,6 +249,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mMailHandler);
+ mNetwork->registerHandler(mMapHandler);
mNetwork->registerHandler(mMarketHandler);
mNetwork->registerHandler(mMercenaryHandler);
mNetwork->registerHandler(mSearchStoreHandler);
diff --git a/src/net/tmwa/generalhandler.h b/src/net/tmwa/generalhandler.h
index aa8c40b1b..c2b0c1651 100644
--- a/src/net/tmwa/generalhandler.h
+++ b/src/net/tmwa/generalhandler.h
@@ -91,6 +91,7 @@ class GeneralHandler final : public MessageHandler,
MessageHandlerPtr mFriendsHandler;
MessageHandlerPtr mHomunculusHandler;
MessageHandlerPtr mMailHandler;
+ MessageHandlerPtr mMapHandler;
MessageHandlerPtr mMarketHandler;
MessageHandlerPtr mMercenaryHandler;
MessageHandlerPtr mSearchStoreHandler;