aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system')
-rw-r--r--src/crepe/system/InputSystem.cpp3
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{