diff options
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/input_event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input_event.cpp b/core/os/input_event.cpp index 2538e8dad2..b2febb1a63 100644 --- a/core/os/input_event.cpp +++ b/core/os/input_event.cpp @@ -57,7 +57,7 @@ bool InputEvent::is_pressed() const { bool InputEvent::is_action(const StringName &p_action) const { - return InputMap::get_singleton()->event_is_action(Ref<InputEvent>(this), p_action); + return InputMap::get_singleton()->event_is_action(Ref<InputEvent>((InputEvent *)this), p_action); } bool InputEvent::is_action_pressed(const StringName &p_action) const { |