From d8a8e44afac17795fba1aad1a5bfefd07f8c2428 Mon Sep 17 00:00:00 2001 From: mothbeanie Date: Sun, 3 Nov 2024 21:16:33 -0800 Subject: [PATCH] fix flipped inequality sign Co-authored-by: Misa Elizabeth Kai --- desktop_version/src/Map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Map.cpp b/desktop_version/src/Map.cpp index 18e83ff2..c6cca16b 100644 --- a/desktop_version/src/Map.cpp +++ b/desktop_version/src/Map.cpp @@ -2313,7 +2313,7 @@ void mapclass::setregion(int id, int rx, int ry, int rx2, int ry2) rx = rx2; rx2 = temp; } - if (ry2 > ry) + if (ry2 < ry) { int temp = ry; ry = ry2;