summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:29:09 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:29:09 +0300
commit510d030cbf0cca87e81801b1f484c24e8d4b7940 (patch)
tree3c90786df7b3b98590bdfd3acd958c6901856a8b /src/net/tmwa/generalhandler.cpp
parentb3fb42d3225282bc146847488a74536953a2d726 (diff)
downloadmanaverse-510d030cbf0cca87e81801b1f484c24e8d4b7940.tar.gz
manaverse-510d030cbf0cca87e81801b1f484c24e8d4b7940.tar.bz2
manaverse-510d030cbf0cca87e81801b1f484c24e8d4b7940.tar.xz
manaverse-510d030cbf0cca87e81801b1f484c24e8d4b7940.zip
Build markethandler only if eathena enabled.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index a1b1f45bc..5acf3040c 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -115,9 +115,9 @@ GeneralHandler::GeneralHandler() :
mFriendsHandler(new FriendsHandler),
mHomunculusHandler(new HomunculusHandler),
mMailHandler(new MailHandler),
+ mMarketHandler(new MarketHandler),
#endif
mMercenaryHandler(new MercenaryHandler),
- mMarketHandler(new MarketHandler),
mVendingHandler(new VendingHandler),
mSearchStoreHandler(new SearchStoreHandler)
{
@@ -245,9 +245,9 @@ void GeneralHandler::load()
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mMailHandler);
+ mNetwork->registerHandler(mMarketHandler);
#endif
mNetwork->registerHandler(mMercenaryHandler);
- mNetwork->registerHandler(mMarketHandler);
mNetwork->registerHandler(mVendingHandler);
mNetwork->registerHandler(mSearchStoreHandler);
}