aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/InputSystem.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-04 17:12:21 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-04 17:12:21 +0100
commitb0a7296eb4319d123c88b34f162c28d0717c98e4 (patch)
tree3afe48156339f8ca5ff72d6f288ac6269303ce3f /src/crepe/system/InputSystem.cpp
parent4e98ad053942a47e1f3f236702012c5ffd5852eb (diff)
last changes
Diffstat (limited to 'src/crepe/system/InputSystem.cpp')
-rw-r--r--src/crepe/system/InputSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/InputSystem.cpp b/src/crepe/system/InputSystem.cpp
index a95ae1d..11749e1 100644
--- a/src/crepe/system/InputSystem.cpp
+++ b/src/crepe/system/InputSystem.cpp
@@ -37,7 +37,7 @@ void InputSystem::update() {
|| world_mouse_x > camera_origin_x + current_cam.viewport_size.x
|| world_mouse_y < camera_origin_y
|| world_mouse_y > camera_origin_y + current_cam.viewport_size.y);
-
+
switch (event.event_type) {
case SDLContext::EventType::KEYDOWN:
event_mgr.queue_event<KeyPressEvent>(KeyPressEvent{