summaryrefslogtreecommitdiff
path: root/src/tile_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile_map.h')
-rw-r--r--src/tile_map.h1
1 files changed, 1 insertions, 0 deletions
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);
}