From 26c3fb80fd3bf84968a1e464df518a0b6db6c5d9 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 4 Dec 2024 22:57:45 +0100 Subject: fixed changes with mediator --- src/crepe/system/InputSystem.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/crepe/system/InputSystem.h') 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::max(), - std::numeric_limits::max()}; + ivec2 last_mouse_down_position; //! Stores the last mouse button pressed. MouseButton last_mouse_button = MouseButton::NONE; -- cgit v1.2.3