diff options
author | groud <gilles.roudiere@gmail.com> | 2018-04-25 22:29:39 +0200 |
---|---|---|
committer | groud <gilles.roudiere@gmail.com> | 2018-04-25 22:32:09 +0200 |
commit | 0aa8b35ee689fc8b3813ab3d35c85f9cf97775a9 (patch) | |
tree | d01588ab07c3f4c33e2ec1d9f58517f23d40a8b8 /core/input_map.h | |
parent | 6faa96fb89ab33fe3a6b37eecca1c7cf2934ff75 (diff) | |
download | redot-engine-0aa8b35ee689fc8b3813ab3d35c85f9cf97775a9.tar.gz |
Fixing input strength and the impossibility to erase action events
Diffstat (limited to 'core/input_map.h')
-rw-r--r-- | core/input_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input_map.h b/core/input_map.h index a00be8c859..f497a2b86e 100644 --- a/core/input_map.h +++ b/core/input_map.h @@ -55,7 +55,7 @@ private: mutable Map<StringName, Action> input_map; - List<Ref<InputEvent> >::Element *_find_event(Action p_action, const Ref<InputEvent> &p_event, bool *p_pressed = NULL, float *p_strength = NULL) const; + List<Ref<InputEvent> >::Element *_find_event(Action &p_action, const Ref<InputEvent> &p_event, bool *p_pressed = NULL, float *p_strength = NULL) const; Array _get_action_list(const StringName &p_action); Array _get_actions(); |