From 08db611dd50b3b777b57884769fb49ceed8602c9 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Sun, 20 Oct 2019 23:44:26 -0300 Subject: [PATCH] Fix #10126: window movement inversed --- src/openrct2/world/Location.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/world/Location.hpp b/src/openrct2/world/Location.hpp index afe3c126d4..9286476d55 100644 --- a/src/openrct2/world/Location.hpp +++ b/src/openrct2/world/Location.hpp @@ -69,7 +69,7 @@ struct ScreenCoordsXY const ScreenCoordsXY operator-(const ScreenCoordsXY& rhs) const { - return { rhs.x - x, rhs.y - y }; + return { x - rhs.x, y - rhs.y }; } };