mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 17:09:10 +00:00
(svn r20197) -Fix [FS#3963]: GetNearbyTileInformation can be used to get the terrain type of a MP_VOID tile.
This commit is contained in:
@@ -322,6 +322,7 @@ uint32 GetTerrainType(TileIndex tile, bool upper_halftile)
|
||||
has_snow = (GetTileMaxZ(tile) > GetSnowLine());
|
||||
break;
|
||||
|
||||
case MP_VOID:
|
||||
case MP_WATER:
|
||||
has_snow = (GetTileZ(tile) > GetSnowLine());
|
||||
break;
|
||||
|
Reference in New Issue
Block a user