diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 21:40:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 21:40:35 +0300 |
commit | 09b39a5ea31dedbaff19ba1030f08809f4d61617 (patch) | |
tree | 74af9a9692714429a1b2ea3f76818043f021ddb4 /src/net/eathena | |
parent | 16a57526fbe271bd067cfa4ec44f2da9494bfa1f (diff) | |
download | plus-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.cpp | 3 | ||||
-rw-r--r-- | src/net/eathena/generalhandler.h | 1 |
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; |