summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-24 11:30:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-24 11:30:39 +0300
commit03548e276d033939449abb9b3a94a57803a57964 (patch)
treeb77dc158a946d3022a10cf6f08ee76d3cae22721 /src/net/tmwa/generalhandler.cpp
parentec5a45824c26921c12a1a90dfe541c2e59421e7b (diff)
downloadmanaplus-03548e276d033939449abb9b3a94a57803a57964.tar.gz
manaplus-03548e276d033939449abb9b3a94a57803a57964.tar.bz2
manaplus-03548e276d033939449abb9b3a94a57803a57964.tar.xz
manaplus-03548e276d033939449abb9b3a94a57803a57964.zip
Add empty BuyingStoreHandler.
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 800148a41..9a24d6a4e 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -43,6 +43,7 @@
#include "net/tmwa/auctionhandler.h"
#include "net/tmwa/bankhandler.h"
#include "net/tmwa/beinghandler.h"
+#include "net/tmwa/buyingstorehandler.h"
#include "net/tmwa/buysellhandler.h"
#include "net/tmwa/cashshophandler.h"
#include "net/tmwa/chathandler.h"
@@ -106,7 +107,8 @@ GeneralHandler::GeneralHandler() :
mCashShopHandler(new CashShopHandler),
mFamilyHandler(new FamilyHandler),
mBankHandler(new BankHandler),
- mMercenaryHandler(new MercenaryHandler)
+ mMercenaryHandler(new MercenaryHandler),
+ mBuyingStoreHandler(new BuyingStoreHandler)
{
static const uint16_t _messages[] =
{
@@ -226,6 +228,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mFamilyHandler);
mNetwork->registerHandler(mBankHandler);
mNetwork->registerHandler(mMercenaryHandler);
+ mNetwork->registerHandler(mBuyingStoreHandler);
}
void GeneralHandler::reload()