summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 16:02:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 16:02:49 +0300
commit97899e857e2ebe6bf038b8fdfed81fb489d0d0cb (patch)
tree1cd4b5ebfcd6f422f524821381a19ca7d6ff0e69 /src/net/tmwa/generalhandler.cpp
parent32a344ef8f062c5fd5ec84321b4975ceba1e377d (diff)
downloadplus-97899e857e2ebe6bf038b8fdfed81fb489d0d0cb.tar.gz
plus-97899e857e2ebe6bf038b8fdfed81fb489d0d0cb.tar.bz2
plus-97899e857e2ebe6bf038b8fdfed81fb489d0d0cb.tar.xz
plus-97899e857e2ebe6bf038b8fdfed81fb489d0d0cb.zip
Add empty cashshophandler.
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 dabf4efce..f8f1a1b19 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/beinghandler.h"
#include "net/tmwa/buysellhandler.h"
+#include "net/tmwa/cashshophandler.h"
#include "net/tmwa/chathandler.h"
#include "net/tmwa/charserverhandler.h"
#include "net/tmwa/gamehandler.h"
@@ -98,7 +99,8 @@ GeneralHandler::GeneralHandler() :
mQuestHandler(new QuestHandler),
mServerFeatures(new ServerFeatures),
mMailHandler(new MailHandler),
- mAuctionHandler(new AuctionHandler)
+ mAuctionHandler(new AuctionHandler),
+ mCashShopHandler(new CashShopHandler)
{
static const uint16_t _messages[] =
{
@@ -214,6 +216,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mQuestHandler.get());
mNetwork->registerHandler(mMailHandler.get());
mNetwork->registerHandler(mAuctionHandler.get());
+ mNetwork->registerHandler(mCashShopHandler.get());
}
void GeneralHandler::reload()