summaryrefslogtreecommitdiff
path: root/src/actions/actiondef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-11 02:27:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-11 02:38:55 +0300
commit5d4558bc21607cdb96a988e2867e466ff8b1578f (patch)
tree614c1f1818146df9ecc7453b780773a081112a92 /src/actions/actiondef.h
parentc3ee1ba31f16d8d5d8f0f6e6a68dc1e5b12bad31 (diff)
downloadmanaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.gz
manaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.bz2
manaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.xz
manaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.zip
Fix compilation warnings with tmwa only.
Diffstat (limited to 'src/actions/actiondef.h')
-rw-r--r--src/actions/actiondef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actiondef.h b/src/actions/actiondef.h
index c8b57e9e4..10388b1dc 100644
--- a/src/actions/actiondef.h
+++ b/src/actions/actiondef.h
@@ -27,6 +27,13 @@
#include "input/inputmanager.h"
#define impHandler(name) bool name(InputEvent &event)
+
+#ifdef EATHENA_SUPPORT
+#define impHandlerE(name) bool name(InputEvent &event)
+#else // EATHENA_SUPPORT
+#define impHandlerE(name) bool name(InputEvent &event A_UNUSED)
+#endif // EATHENA_SUPPORT
+
#define impHandler0(name) bool name(InputEvent &event A_UNUSED)
#define impHandlerVoid(name) bool name(InputEvent &event A_UNUSED) \
{ \