summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
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()