(svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone.

This commit is contained in:
frosch
2010-05-08 14:43:59 +00:00
parent 85ac1eb4d7
commit aeb5a099ce
3 changed files with 12 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ static inline bool IsTileOwner(TileIndex tile, Owner owner)
static inline void SetTropicZone(TileIndex tile, TropicZone type)
{
assert(tile < MapSize());
assert(!IsTileType(tile, MP_VOID) || type == TROPICZONE_NORMAL);
SB(_m[tile].m6, 0, 2, type);
}