summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-21 21:37:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-21 21:37:20 +0300
commite8cb5cdebbd47cf2223f837627fbb27c8dc51515 (patch)
tree4955a98b25d9f8783df524f83a7c2ce289f787dd /src/net/tmwa/generalhandler.cpp
parenta74ab85da40aaccf490df59cd3fe5bd448fcc7e4 (diff)
downloadplus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.tar.gz
plus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.tar.bz2
plus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.tar.xz
plus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.zip
Add empty MarketHandler.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 0a81b764c..54eb1eecb 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/markethandler.h"
#include "net/tmwa/mercenaryhandler.h"
#include "net/tmwa/network.h"
#include "net/tmwa/npchandler.h"
@@ -111,7 +112,8 @@ GeneralHandler::GeneralHandler() :
mBuyingStoreHandler(new BuyingStoreHandler),
mHomunculusHandler(new HomunculusHandler),
mFriendsHandler(new FriendsHandler),
- mElementalHandler(new ElementalHandler)
+ mElementalHandler(new ElementalHandler),
+ mMarketHandler(new MarketHandler)
{
static const uint16_t _messages[] =
{
@@ -237,6 +239,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mElementalHandler);
+ mNetwork->registerHandler(mMarketHandler);
}
void GeneralHandler::reload()