From 96e54519ca6645114751e64ad228048da7686c8d Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Tue, 29 Oct 2019 13:36:57 -0300 Subject: [PATCH] Remove comparison of ScreenCoords with MONEY32_UNDEFINED (#10124) --- src/openrct2-ui/input/MouseInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/input/MouseInput.cpp b/src/openrct2-ui/input/MouseInput.cpp index e4183d3a42..e6dfd8e9f9 100644 --- a/src/openrct2-ui/input/MouseInput.cpp +++ b/src/openrct2-ui/input/MouseInput.cpp @@ -120,7 +120,7 @@ void game_handle_input() { game_handle_input_mouse(screenCoords, state); } - else if (screenCoords.x != MONEY32_UNDEFINED) + else { int32_t screenWidth = context_get_width(); int32_t screenHeight = context_get_height();