diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 20:16:04 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-04 20:16:04 +0100 |
commit | c1f30c168fc95818ea75660d90c395b0a548412e (patch) | |
tree | a0f1fb98fdfaa2bc81cda381d1f86252da35664a /src/crepe | |
parent | 66fdcffaddb0ab31d12b6b1d7892a8edaa31af65 (diff) |
added a last this->
Diffstat (limited to 'src/crepe')
-rw-r--r-- | src/crepe/system/InputSystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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>(MouseScrollEvent{ |