From 2490ef610773ad1c7adf33a28b2fc982b2b8ee7e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Feb 2015 22:56:32 +0300 Subject: Build vendinghandler only if eathena enabled. --- src/actions/actions.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index eab3a69a4..9f73f15ee 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -641,9 +641,11 @@ impHandler(buy) } else if (being->getType() == ActorType::Player) { +#ifdef EATHENA_SUPPORT if (serverFeatures->haveVending()) vendingHandler->open(being); else +#endif buySellHandler->requestSellList(being->getName()); return true; } -- cgit v1.2.3-70-g09d2