From 7fd1401d915ee91c808695ca1f3647ca7a258a1f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Sep 2017 01:11:39 +0300 Subject: Allow trigger input action on key press or/and release. By default all actions triggered on press key. --- src/input/inputmanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input/inputmanager.h') diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h index 6deb64858..012c06f7d 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -138,7 +138,7 @@ class InputManager final static void update(); - void updateConditionMask() restrict2; + void updateConditionMask(const bool pressed) restrict2; InputActionT getActionByKey(const SDL_Event &restrict event) const restrict2 A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2