diff options
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r-- | tunnelbridge_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |