summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-27 01:45:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-27 01:51:18 +0300
commitcc68aec5ca370dcf190af39f3f8b269706c928b2 (patch)
tree57c01b0bcd6233cb720e77b2ee3515a4cc16fb26 /src/net/tmwa/generalhandler.cpp
parent6901946dcbe81192560a80c20b1e787b11579ebc (diff)
downloadmanaverse-cc68aec5ca370dcf190af39f3f8b269706c928b2.tar.gz
manaverse-cc68aec5ca370dcf190af39f3f8b269706c928b2.tar.bz2
manaverse-cc68aec5ca370dcf190af39f3f8b269706c928b2.tar.xz
manaverse-cc68aec5ca370dcf190af39f3f8b269706c928b2.zip
Build familyhandler 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 bf36f1fc3..7008a70f8 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -112,8 +112,8 @@ GeneralHandler::GeneralHandler() :
mBuyingStoreHandler(new BuyingStoreHandler),
mCashShopHandler(new CashShopHandler),
mElementalHandler(new ElementalHandler),
-#endif
mFamilyHandler(new FamilyHandler),
+#endif
mMercenaryHandler(new MercenaryHandler),
mHomunculusHandler(new HomunculusHandler),
mFriendsHandler(new FriendsHandler),
@@ -242,8 +242,8 @@ void GeneralHandler::load()
mNetwork->registerHandler(mBuyingStoreHandler);
mNetwork->registerHandler(mCashShopHandler);
mNetwork->registerHandler(mElementalHandler);
-#endif
mNetwork->registerHandler(mFamilyHandler);
+#endif
mNetwork->registerHandler(mMercenaryHandler);
mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mFriendsHandler);