mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix #1944
This commit is contained in:
parent
e7c3c1ff3c
commit
0af364a9b6
|
@ -350,7 +350,7 @@ int map_element_height(int x, int y)
|
||||||
rct_map_element *mapElement;
|
rct_map_element *mapElement;
|
||||||
|
|
||||||
// Off the map
|
// Off the map
|
||||||
if (x >= 8192 || y >= 8192)
|
if ((unsigned)x >= 8192 || (unsigned)y >= 8192)
|
||||||
return 16;
|
return 16;
|
||||||
|
|
||||||
// Truncate subtile coordinates
|
// Truncate subtile coordinates
|
||||||
|
|
Loading…
Reference in New Issue