summaryrefslogtreecommitdiff
path: root/src/actions/actiondef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-21 23:28:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-21 23:28:16 +0300
commitcb84f051aae518fd70a84333c0d8b53bd01ccc19 (patch)
treea59a835fb00b2cd158a0ec92065d1513d39133c0 /src/actions/actiondef.h
parentcf772fbdba567b293da80f285e67225631e18cd7 (diff)
downloadmanaverse-cb84f051aae518fd70a84333c0d8b53bd01ccc19.tar.gz
manaverse-cb84f051aae518fd70a84333c0d8b53bd01ccc19.tar.bz2
manaverse-cb84f051aae518fd70a84333c0d8b53bd01ccc19.tar.xz
manaverse-cb84f051aae518fd70a84333c0d8b53bd01ccc19.zip
Remove const from action functions definition.
Diffstat (limited to 'src/actions/actiondef.h')
-rw-r--r--src/actions/actiondef.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/actions/actiondef.h b/src/actions/actiondef.h
index 70e44f794..a192fc4c1 100644
--- a/src/actions/actiondef.h
+++ b/src/actions/actiondef.h
@@ -26,9 +26,8 @@
#include "input/inputmanager.h"
-#define decHandler(name) bool name(const InputEvent &event)
-#define impHandler(name) bool name(const InputEvent &event)
-#define impHandler0(name) bool name(const InputEvent &event A_UNUSED)
+#define impHandler(name) bool name(InputEvent &event)
+#define impHandler0(name) bool name(InputEvent &event A_UNUSED)
#define callYellowBar(name) \
GameModifiers::name(!inputManager.isActionActive( \