summaryrefslogtreecommitdiff
path: root/src/net/eathena
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/eathena
parent16a57526fbe271bd067cfa4ec44f2da9494bfa1f (diff)
downloadplus-09b39a5ea31dedbaff19ba1030f08809f4d61617.tar.gz
plus-09b39a5ea31dedbaff19ba1030f08809f4d61617.tar.bz2
plus-09b39a5ea31dedbaff19ba1030f08809f4d61617.tar.xz
plus-09b39a5ea31dedbaff19ba1030f08809f4d61617.zip
Add empty map handler.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/generalhandler.cpp3
-rw-r--r--src/net/eathena/generalhandler.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 7ded3aa35..d2acb1863 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -57,6 +57,7 @@
#include "net/eathena/itemhandler.h"
#include "net/eathena/loginhandler.h"
#include "net/eathena/mailhandler.h"
+#include "net/eathena/maphandler.h"
#include "net/eathena/markethandler.h"
#include "net/eathena/mercenaryhandler.h"
#include "net/eathena/network.h"
@@ -117,6 +118,7 @@ GeneralHandler::GeneralHandler() :
mHomunculusHandler(new HomunculusHandler),
mFriendsHandler(new FriendsHandler),
mElementalHandler(new ElementalHandler),
+ mMapHandler(new MarketHandler),
mMarketHandler(new MarketHandler),
mVendingHandler(new VendingHandler),
mSearchStoreHandler(new SearchStoreHandler)
@@ -307,6 +309,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mElementalHandler);
+ mNetwork->registerHandler(mMapHandler);
mNetwork->registerHandler(mMarketHandler);
mNetwork->registerHandler(mVendingHandler);
mNetwork->registerHandler(mSearchStoreHandler);
diff --git a/src/net/eathena/generalhandler.h b/src/net/eathena/generalhandler.h
index 892653739..15f8ca9db 100644
--- a/src/net/eathena/generalhandler.h
+++ b/src/net/eathena/generalhandler.h
@@ -93,6 +93,7 @@ class GeneralHandler final : public MessageHandler,
MessageHandlerPtr mHomunculusHandler;
MessageHandlerPtr mFriendsHandler;
MessageHandlerPtr mElementalHandler;
+ MessageHandlerPtr mMapHandler;
MessageHandlerPtr mMarketHandler;
MessageHandlerPtr mVendingHandler;
MessageHandlerPtr mSearchStoreHandler;