diff options
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() |