From 22bb94a2587fa16d808ec966f01d07dc27d9f5d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Feb 2015 21:53:24 +0300 Subject: Build mercenaryhandler only if eathena enabled. --- src/actions/actions.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/actions') 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) -- cgit v1.2.3-60-g2f50