From c1f30c168fc95818ea75660d90c395b0a548412e Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 4 Dec 2024 20:16:04 +0100 Subject: added a last this-> --- src/crepe/system/InputSystem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/crepe') diff --git a/src/crepe/system/InputSystem.cpp b/src/crepe/system/InputSystem.cpp index 21ec24b..8fe583f 100644 --- a/src/crepe/system/InputSystem.cpp +++ b/src/crepe/system/InputSystem.cpp @@ -3,6 +3,7 @@ #include "../api/EventManager.h" #include "InputSystem.h" + using namespace crepe; void InputSystem::update() { @@ -97,7 +98,7 @@ void InputSystem::update() { .delta_x = event.rel_mouse_move.first, .delta_y = event.rel_mouse_move.second, }); - handle_move(event, world_mouse_x, world_mouse_y); + this->handle_move(event, world_mouse_x, world_mouse_y); break; case SDLContext::EventType::MOUSEWHEEL: event_mgr.queue_event(MouseScrollEvent{ -- cgit v1.2.3