diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-07 00:53:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-07 00:53:46 +0300 |
commit | 291f73098e52742bed3f4c4271524e347ee317e1 (patch) | |
tree | 51ec8f3e8ce4cb27fa74e5af2c300b5660d3623a /src/net/eathena/generalhandler.cpp | |
parent | 6eb12f07e8d1c813e094097dd94bf4fc450bace3 (diff) | |
download | mv-291f73098e52742bed3f4c4271524e347ee317e1.tar.gz mv-291f73098e52742bed3f4c4271524e347ee317e1.tar.bz2 mv-291f73098e52742bed3f4c4271524e347ee317e1.tar.xz mv-291f73098e52742bed3f4c4271524e347ee317e1.zip |
Add empty vending handler.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r-- | src/net/eathena/generalhandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp index 30697388e..570d79136 100644 --- a/src/net/eathena/generalhandler.cpp +++ b/src/net/eathena/generalhandler.cpp @@ -69,6 +69,7 @@ #include "net/eathena/tradehandler.h" #include "net/eathena/skillhandler.h" #include "net/eathena/questhandler.h" +#include "net/eathena/vendinghandler.h" #include "resources/db/itemdbstat.h" @@ -115,7 +116,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[] = { @@ -304,6 +306,7 @@ void GeneralHandler::load() mNetwork->registerHandler(mFriendsHandler); mNetwork->registerHandler(mElementalHandler); mNetwork->registerHandler(mMarketHandler); + mNetwork->registerHandler(mVendingHandler); } void GeneralHandler::reload() |