From 0af364a9b6f0ee3d810c514d00f52552c60fbc04 Mon Sep 17 00:00:00 2001 From: zsilencer Date: Mon, 21 Sep 2015 10:41:09 -0600 Subject: [PATCH] fix #1944 --- src/world/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/map.c b/src/world/map.c index 9e590a7576..a2b4e1376e 100644 --- a/src/world/map.c +++ b/src/world/map.c @@ -350,7 +350,7 @@ int map_element_height(int x, int y) rct_map_element *mapElement; // Off the map - if (x >= 8192 || y >= 8192) + if ((unsigned)x >= 8192 || (unsigned)y >= 8192) return 16; // Truncate subtile coordinates