diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-28 22:56:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-28 22:57:51 +0300 |
commit | 2490ef610773ad1c7adf33a28b2fc982b2b8ee7e (patch) | |
tree | e84fa69940813b4e00966ed6dbf595222120b889 /src/actions/actions.cpp | |
parent | 631e52266a80983046a61d68648becd9f3656ff7 (diff) | |
download | mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.gz mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.bz2 mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.xz mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.zip |
Build vendinghandler only if eathena enabled.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |