summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:12:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:12:15 +0300
commitb96242e1d5a6af71e6f884596f77268743945c63 (patch)
tree1fc425037771265a1134956641c466095b7349a1 /src/net/tmwa/generalhandler.cpp
parent0cc662938674c22bb5a3d1e1521fe90eb28121e4 (diff)
downloadplus-b96242e1d5a6af71e6f884596f77268743945c63.tar.gz
plus-b96242e1d5a6af71e6f884596f77268743945c63.tar.bz2
plus-b96242e1d5a6af71e6f884596f77268743945c63.tar.xz
plus-b96242e1d5a6af71e6f884596f77268743945c63.zip
Build homunculushandler 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 e525d5b85..2a353df80 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -114,9 +114,9 @@ GeneralHandler::GeneralHandler() :
mElementalHandler(new ElementalHandler),
mFamilyHandler(new FamilyHandler),
mFriendsHandler(new FriendsHandler),
+ mHomunculusHandler(new HomunculusHandler),
#endif
mMercenaryHandler(new MercenaryHandler),
- mHomunculusHandler(new HomunculusHandler),
mMarketHandler(new MarketHandler),
mVendingHandler(new VendingHandler),
mSearchStoreHandler(new SearchStoreHandler)
@@ -244,9 +244,9 @@ void GeneralHandler::load()
mNetwork->registerHandler(mElementalHandler);
mNetwork->registerHandler(mFamilyHandler);
mNetwork->registerHandler(mFriendsHandler);
+ mNetwork->registerHandler(mHomunculusHandler);
#endif
mNetwork->registerHandler(mMercenaryHandler);
- mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mMarketHandler);
mNetwork->registerHandler(mVendingHandler);
mNetwork->registerHandler(mSearchStoreHandler);