From 80570009dd802e7403983c7e28670e7debd4c57b Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 30 Mar 2006 19:16:44 +0000 Subject: (svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear. --- tunnelbridge_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tunnelbridge_cmd.c') diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index d218e1596..68cc8246a 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -1225,7 +1225,7 @@ static void TileLoop_TunnelBridge(TileIndex tile) break; case LT_DESERT: - if (GetMapExtraBits(tile) == 1 && !(_m[tile].m4 & 0x80)) { + if (GetTropicZone(tile) == TROPICZONE_DESERT && !(_m[tile].m4 & 0x80)) { _m[tile].m4 |= 0x80; MarkTileDirtyByTile(tile); } -- cgit v1.2.3-54-g00ecf