diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:53:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:53:24 +0300 |
commit | 22bb94a2587fa16d808ec966f01d07dc27d9f5d9 (patch) | |
tree | c2b6cc27c3bb420c32e2d8bacdd8f1634f85e419 /src/actions/actions.cpp | |
parent | 510d030cbf0cca87e81801b1f484c24e8d4b7940 (diff) | |
download | plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.gz plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.bz2 plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.tar.xz plus-22bb94a2587fa16d808ec966f01d07dc27d9f5d9.zip |
Build mercenaryhandler only if eathena enabled.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 4 |
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) |