From 0aa8b35ee689fc8b3813ab3d35c85f9cf97775a9 Mon Sep 17 00:00:00 2001 From: groud Date: Wed, 25 Apr 2018 22:29:39 +0200 Subject: Fixing input strength and the impossibility to erase action events --- core/input_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/input_map.cpp') diff --git a/core/input_map.cpp b/core/input_map.cpp index 973edcb5b..67c0e4eb0 100644 --- a/core/input_map.cpp +++ b/core/input_map.cpp @@ -98,7 +98,7 @@ List InputMap::get_actions() const { return actions; } -List >::Element *InputMap::_find_event(Action p_action, const Ref &p_event, bool *p_pressed, float *p_strength) const { +List >::Element *InputMap::_find_event(Action &p_action, const Ref &p_event, bool *p_pressed, float *p_strength) const { for (List >::Element *E = p_action.inputs.front(); E; E = E->next()) { -- cgit v1.2.3-70-g09d2