diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-15 16:02:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-15 16:02:49 +0300 |
commit | 97899e857e2ebe6bf038b8fdfed81fb489d0d0cb (patch) | |
tree | 1cd4b5ebfcd6f422f524821381a19ca7d6ff0e69 /src/net/tmwa/generalhandler.cpp | |
parent | 32a344ef8f062c5fd5ec84321b4975ceba1e377d (diff) | |
download | plus-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.cpp | 5 |
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() |