Changeset - r15528:0c5622cb2cfa
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-07-19 23:51:22
rubidium@openttd.org
(svn r20197) -Fix [FS#3963]: GetNearbyTileInformation can be used to get the terrain type of a MP_VOID tile.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_commons.cpp
Show inline comments
 
@@ -322,6 +322,7 @@ uint32 GetTerrainType(TileIndex tile, bo
 
					has_snow = (GetTileMaxZ(tile) > GetSnowLine());
 
					break;
 

	
 
				case MP_VOID:
 
				case MP_WATER:
 
					has_snow = (GetTileZ(tile) > GetSnowLine());
 
					break;
0 comments (0 inline, 0 general)