summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:53:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:53:24 +0300
commit22bb94a2587fa16d808ec966f01d07dc27d9f5d9 (patch)
treec2b6cc27c3bb420c32e2d8bacdd8f1634f85e419 /src/actions
parent510d030cbf0cca87e81801b1f484c24e8d4b7940 (diff)
downloadmv-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.gz
mv-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.bz2
mv-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.xz
mv-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.zip
Build mercenaryhandler only if eathena enabled.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index f673d43b4..eab3a69a4 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1426,8 +1426,12 @@ impHandler(uploadLog)
impHandler0(mercenaryFire)
{
+#ifdef EATHENA_SUPPORT
mercenaryHandler->fire();
return true;
+#else
+ return false;
+#endif
}
impHandler(useItem)