diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:53:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:53:24 +0300 |
commit | 22bb94a2587fa16d808ec966f01d07dc27d9f5d9 (patch) | |
tree | c2b6cc27c3bb420c32e2d8bacdd8f1634f85e419 /src/net/tmwa/generalhandler.cpp | |
parent | 510d030cbf0cca87e81801b1f484c24e8d4b7940 (diff) | |
download | plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.gz plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.bz2 plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.xz plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.zip |
Build mercenaryhandler only if eathena enabled.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 5acf3040c..9205db800 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -116,8 +116,8 @@ GeneralHandler::GeneralHandler() : mHomunculusHandler(new HomunculusHandler), mMailHandler(new MailHandler), mMarketHandler(new MarketHandler), -#endif mMercenaryHandler(new MercenaryHandler), +#endif mVendingHandler(new VendingHandler), mSearchStoreHandler(new SearchStoreHandler) { @@ -246,8 +246,8 @@ void GeneralHandler::load() mNetwork->registerHandler(mHomunculusHandler); mNetwork->registerHandler(mMailHandler); mNetwork->registerHandler(mMarketHandler); -#endif mNetwork->registerHandler(mMercenaryHandler); +#endif mNetwork->registerHandler(mVendingHandler); mNetwork->registerHandler(mSearchStoreHandler); } |