From b572e2164b9f6d6a63438356532b8e27c8792a27 Mon Sep 17 00:00:00 2001 From: mothbeanie Date: Sun, 3 Nov 2024 21:16:26 -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 069a322e..18e83ff2 100644 --- a/desktop_version/src/Map.cpp +++ b/desktop_version/src/Map.cpp @@ -2307,7 +2307,7 @@ void mapclass::setregion(int id, int rx, int ry, int rx2, int ry2) if (INBOUNDS_ARR(id, region) && id > 0) { // swap the variables if they're entered in the wrong order - if (rx2 > rx) + if (rx2 < rx) { int temp = rx; rx = rx2;