diff options
author | Darkvater <darkvater@openttd.org> | 2005-06-09 13:54:08 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-06-09 13:54:08 +0000 |
commit | 65a00ea7544278ca6956c7da3d9ace82d862a3b0 (patch) | |
tree | 47a4ba77a6fec69fec4d26661fa6f4849c5464b1 | |
parent | 9ec944003b148227650383285cbdc201248a10d9 (diff) | |
download | openttd-65a00ea7544278ca6956c7da3d9ace82d862a3b0.tar.xz |
(svn r2436) - Fix: Deleting canals under bridges removes bridges first in certain configurations (peter1138)
-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 1aa5a4935..51c71b20b 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -717,7 +717,7 @@ static int32 DoClearBridge(uint tile, uint32 flags) return cost; /* delete canal under bridge */ - } else if(_map5[tile] == 0xC8 && TilePixelHeight(tile) != 0) { + } else if ((_map5[tile] & 0xC8) == 0xC8 && TilePixelHeight(tile) != 0) { int32 cost; // check for vehicles under bridge |