From 5b77a63ecfabe3537e10e681fac765fc5c46be10 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 8 May 2010 14:43:59 +0000 Subject: (svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone. --- src/tile_map.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tile_map.h') diff --git a/src/tile_map.h b/src/tile_map.h index fcbe2199c..393b89e01 100644 --- a/src/tile_map.h +++ b/src/tile_map.h @@ -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); } -- cgit v1.2.3-54-g00ecf