summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-07 00:53:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-07 00:53:46 +0300
commit291f73098e52742bed3f4c4271524e347ee317e1 (patch)
tree51ec8f3e8ce4cb27fa74e5af2c300b5660d3623a /src/net/tmwa/generalhandler.cpp
parent6eb12f07e8d1c813e094097dd94bf4fc450bace3 (diff)
downloadmv-291f73098e52742bed3f4c4271524e347ee317e1.tar.gz
mv-291f73098e52742bed3f4c4271524e347ee317e1.tar.bz2
mv-291f73098e52742bed3f4c4271524e347ee317e1.tar.xz
mv-291f73098e52742bed3f4c4271524e347ee317e1.zip
Add empty vending handler.
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 b42020ce0..a34da33dc 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -67,6 +67,7 @@
#include "net/tmwa/tradehandler.h"
#include "net/tmwa/skillhandler.h"
#include "net/tmwa/questhandler.h"
+#include "net/tmwa/vendinghandler.h"
#include "resources/db/itemdbstat.h"
@@ -113,7 +114,8 @@ GeneralHandler::GeneralHandler() :
mHomunculusHandler(new HomunculusHandler),
mFriendsHandler(new FriendsHandler),
mElementalHandler(new ElementalHandler),
- mMarketHandler(new MarketHandler)
+ mMarketHandler(new MarketHandler),
+ mVendingHandler(new VendingHandler)
{
static const uint16_t _messages[] =
{
@@ -240,6 +242,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mElementalHandler);
mNetwork->registerHandler(mMarketHandler);
+ mNetwork->registerHandler(mVendingHandler);
}
void GeneralHandler::reload()