diff options
| author | Juan Linietsky | 2017-05-23 08:13:11 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-05-23 08:13:11 -0300 |
| commit | 6161e731d09fccaa6ccf103920305431638d2bd0 (patch) | |
| tree | 8e601c33a5f7f9cddbf54e8dd799edc3cc7a7386 /core/os/input_event.cpp | |
| parent | a77e53b0a554d9f5b56122445e8215e2584488ce (diff) | |
| download | godot-6161e731d09fccaa6ccf103920305431638d2bd0.tar.gz godot-6161e731d09fccaa6ccf103920305431638d2bd0.tar.zst godot-6161e731d09fccaa6ccf103920305431638d2bd0.zip | |
Diffstat (limited to 'core/os/input_event.cpp')
| -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 2538e8dad..b2febb1a6 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 { |
