(svn r20197) -Fix [FS#3963]: GetNearbyTileInformation can be used to get the terrain type of a MP_VOID tile.

This commit is contained in:
rubidium 2010-07-19 23:51:22 +00:00
parent 264bbc3076
commit 93a60d8157
1 changed files with 1 additions and 0 deletions

View File

@ -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;