summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 22:56:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 22:57:51 +0300
commit2490ef610773ad1c7adf33a28b2fc982b2b8ee7e (patch)
treee84fa69940813b4e00966ed6dbf595222120b889 /src/net/net.cpp
parent631e52266a80983046a61d68648becd9f3656ff7 (diff)
downloadmv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.gz
mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.bz2
mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.xz
mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.zip
Build vendinghandler 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 326361b1c..fe06c4a63 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -53,6 +53,7 @@ namespace Net
class MarketHandler;
class MercenaryHandler;
class SearchStoreHandler;
+ class VendingHandler;
#endif
class AdminHandler;
class BeingHandler;
@@ -71,7 +72,6 @@ namespace Net
class ServerFeatures;
class SkillHandler;
class TradeHandler;
- class VendingHandler;
} // namespace Net
Net::AdminHandler *adminHandler = nullptr;
@@ -104,9 +104,9 @@ Net::MailHandler *mailHandler = nullptr;
Net::MarketHandler *marketHandler = nullptr;
Net::MercenaryHandler *mercenaryHandler = nullptr;
Net::SearchStoreHandler *searchStoreHandler = nullptr;
+Net::VendingHandler *vendingHandler = nullptr;
#endif
Net::QuestHandler *questHandler = nullptr;
-Net::VendingHandler *vendingHandler = nullptr;
namespace Net
{