diff src/tile_map.h @ 15140:8676e88fecb0 draft

(svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone.
author frosch <frosch@openttd.org>
date Sat, 08 May 2010 14:43:59 +0000
parents a899d4e5ee1a
children e61270493ab3
line wrap: on
line diff
--- a/src/tile_map.h
+++ b/src/tile_map.h
@@ -186,6 +186,7 @@
 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);
 }