diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-27 02:03:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-27 02:03:03 +0300 |
commit | 8b1e42a9e0d311d9c393ebceef1d508cbc8ad324 (patch) | |
tree | 933f8817f6260f9a1faeaaf214340636df3f6687 /src/net/tmwa/generalhandler.cpp | |
parent | cc68aec5ca370dcf190af39f3f8b269706c928b2 (diff) | |
download | manaplus-8b1e42a9e0d311d9c393ebceef1d508cbc8ad324.tar.gz manaplus-8b1e42a9e0d311d9c393ebceef1d508cbc8ad324.tar.bz2 manaplus-8b1e42a9e0d311d9c393ebceef1d508cbc8ad324.tar.xz manaplus-8b1e42a9e0d311d9c393ebceef1d508cbc8ad324.zip |
Build friendshandler 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 7008a70f8..e525d5b85 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -113,10 +113,10 @@ GeneralHandler::GeneralHandler() : mCashShopHandler(new CashShopHandler), mElementalHandler(new ElementalHandler), mFamilyHandler(new FamilyHandler), + mFriendsHandler(new FriendsHandler), #endif mMercenaryHandler(new MercenaryHandler), mHomunculusHandler(new HomunculusHandler), - mFriendsHandler(new FriendsHandler), mMarketHandler(new MarketHandler), mVendingHandler(new VendingHandler), mSearchStoreHandler(new SearchStoreHandler) @@ -243,10 +243,10 @@ void GeneralHandler::load() mNetwork->registerHandler(mCashShopHandler); mNetwork->registerHandler(mElementalHandler); mNetwork->registerHandler(mFamilyHandler); + mNetwork->registerHandler(mFriendsHandler); #endif mNetwork->registerHandler(mMercenaryHandler); mNetwork->registerHandler(mHomunculusHandler); - mNetwork->registerHandler(mFriendsHandler); mNetwork->registerHandler(mMarketHandler); mNetwork->registerHandler(mVendingHandler); mNetwork->registerHandler(mSearchStoreHandler); |