mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
fix #1944
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user