aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/InputSystem.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-04 22:57:45 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-04 22:57:45 +0100
commit26c3fb80fd3bf84968a1e464df518a0b6db6c5d9 (patch)
treeca3a964f1de0357097ae59024881c27c50751d86 /src/crepe/system/InputSystem.h
parenta199b953d634426b48224487b478649e3937ee10 (diff)
fixed changes with mediator
Diffstat (limited to 'src/crepe/system/InputSystem.h')
-rw-r--r--src/crepe/system/InputSystem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h
index eafeb91..0c42bd6 100644
--- a/src/crepe/system/InputSystem.h
+++ b/src/crepe/system/InputSystem.h
@@ -31,8 +31,7 @@ public:
private:
//! Stores the last position of the mouse when the button was pressed.
- ivec2 last_mouse_down_position{std::numeric_limits<int>::max(),
- std::numeric_limits<int>::max()};
+ ivec2 last_mouse_down_position;
//! Stores the last mouse button pressed.
MouseButton last_mouse_button = MouseButton::NONE;