From 5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 27 Feb 2015 00:30:34 +0300 Subject: Build buyingstorehandler only if eathena enabled. --- src/actions/actions.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/actions') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 965702539..f673d43b4 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -672,9 +672,11 @@ impHandler(sell) } else if (being->getType() == ActorType::Player) { +#ifdef EATHENA_SUPPORT if (serverFeatures->haveVending()) buyingStoreHandler->open(being); else +#endif buySellHandler->requestBuyList(being->getName()); return true; } -- cgit v1.2.3-70-g09d2