diff options
author | frosch <frosch@openttd.org> | 2010-05-08 14:43:59 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-05-08 14:43:59 +0000 |
commit | 5b77a63ecfabe3537e10e681fac765fc5c46be10 (patch) | |
tree | 427fdfabeabbbc34074102dcc4a3d10e86946edb /src/tile_map.h | |
parent | 173b56b895eb929991d9c83233a2ad95e6b3f82e (diff) | |
download | openttd-5b77a63ecfabe3537e10e681fac765fc5c46be10.tar.xz |
(svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone.
Diffstat (limited to 'src/tile_map.h')
-rw-r--r-- | src/tile_map.h | 1 |
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); } |