summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-27 00:30:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-27 01:51:13 +0300
commit5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8 (patch)
tree6d693d8d52e0ec6b779bea0377dca04dc1f89fbb /src/actions/actions.cpp
parent2327e221128fb7c0b4a46cb71cf2cff8f3772654 (diff)
downloadmanaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.gz
manaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.bz2
manaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.xz
manaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.zip
Build buyingstorehandler only if eathena enabled.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}