summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:53:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:53:24 +0300
commit22bb94a2587fa16d808ec966f01d07dc27d9f5d9 (patch)
treec2b6cc27c3bb420c32e2d8bacdd8f1634f85e419 /src/net/net.cpp
parent510d030cbf0cca87e81801b1f484c24e8d4b7940 (diff)
downloadmanaplus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.gz
manaplus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.bz2
manaplus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.xz
manaplus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.zip
Build mercenaryhandler only if eathena enabled.
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r--src/net/net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index 7b7afd157..7b0d34d9a 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -51,6 +51,7 @@ namespace Net
class HomunculusHandler;
class MailHandler;
class MarketHandler;
+ class MercenaryHandler;
#endif
class AdminHandler;
class BeingHandler;
@@ -61,7 +62,6 @@ namespace Net
class GeneralHandler;
class GuildHandler;
class InventoryHandler;
- class MercenaryHandler;
class NpcHandler;
class PartyHandler;
class PetHandler;
@@ -91,7 +91,6 @@ Net::TradeHandler *tradeHandler = nullptr;
Net::BeingHandler *beingHandler = nullptr;
Net::BuySellHandler *buySellHandler = nullptr;
Net::ServerFeatures *serverFeatures = nullptr;
-Net::MercenaryHandler *mercenaryHandler = nullptr;
#ifdef EATHENA_SUPPORT
Net::AuctionHandler *auctionHandler = nullptr;
Net::BankHandler *bankHandler = nullptr;
@@ -103,6 +102,7 @@ Net::FriendsHandler *friendsHandler = nullptr;
Net::HomunculusHandler *homunculusHandler = nullptr;
Net::MailHandler *mailHandler = nullptr;
Net::MarketHandler *marketHandler = nullptr;
+Net::MercenaryHandler *mercenaryHandler = nullptr;
#endif
Net::QuestHandler *questHandler = nullptr;
Net::VendingHandler *vendingHandler = nullptr;