summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 22:22:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 22:57:47 +0300
commit631e52266a80983046a61d68648becd9f3656ff7 (patch)
tree7dd0519126de551fba03966dae97ab25b3d8a690 /src/net/tmwa/generalhandler.cpp
parent22bb94a2587fa16d808ec966f01d07dc27d9f5d9 (diff)
downloadmanaverse-631e52266a80983046a61d68648becd9f3656ff7.tar.gz
manaverse-631e52266a80983046a61d68648becd9f3656ff7.tar.bz2
manaverse-631e52266a80983046a61d68648becd9f3656ff7.tar.xz
manaverse-631e52266a80983046a61d68648becd9f3656ff7.zip
Build searchstorehandler only if eathena enabled.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 9205db800..3326ae3e7 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -117,9 +117,9 @@ GeneralHandler::GeneralHandler() :
mMailHandler(new MailHandler),
mMarketHandler(new MarketHandler),
mMercenaryHandler(new MercenaryHandler),
+ mSearchStoreHandler(new SearchStoreHandler),
#endif
- mVendingHandler(new VendingHandler),
- mSearchStoreHandler(new SearchStoreHandler)
+ mVendingHandler(new VendingHandler)
{
static const uint16_t _messages[] =
{
@@ -247,9 +247,9 @@ void GeneralHandler::load()
mNetwork->registerHandler(mMailHandler);
mNetwork->registerHandler(mMarketHandler);
mNetwork->registerHandler(mMercenaryHandler);
+ mNetwork->registerHandler(mSearchStoreHandler);
#endif
mNetwork->registerHandler(mVendingHandler);
- mNetwork->registerHandler(mSearchStoreHandler);
}
void GeneralHandler::reload()