diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-21 23:28:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-21 23:28:16 +0300 |
commit | cb84f051aae518fd70a84333c0d8b53bd01ccc19 (patch) | |
tree | a59a835fb00b2cd158a0ec92065d1513d39133c0 /src/actions/actiondef.h | |
parent | cf772fbdba567b293da80f285e67225631e18cd7 (diff) | |
download | plus-cb84f051aae518fd70a84333c0d8b53bd01ccc19.tar.gz plus-cb84f051aae518fd70a84333c0d8b53bd01ccc19.tar.bz2 plus-cb84f051aae518fd70a84333c0d8b53bd01ccc19.tar.xz plus-cb84f051aae518fd70a84333c0d8b53bd01ccc19.zip |
Remove const from action functions definition.
Diffstat (limited to 'src/actions/actiondef.h')
-rw-r--r-- | src/actions/actiondef.h | 5 |
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( \ |