(svn r242) -Fix: Pathfinding bug for road vehicles introduced in r160 fixed (blathijs)

-Fix: Pathfinding under bridges bug for ships introduced in r160 fixed (Darkvater)
This commit is contained in:
darkvater
2004-09-14 01:21:07 +00:00
parent 72457bac0d
commit bf703a0e82
5 changed files with 31 additions and 28 deletions

View File

@@ -1318,7 +1318,7 @@ static uint32 GetTileTrackStatus_TunnelBridge(uint tile, TransportType mode)
/* Bridge middle part */
if (!(m5 & 0x20)) {
/* Clear ground or water underneath */
if ((m5 &= 0x18) != 8)
if ((m5 & 0x18) != 8)
/* Clear ground */
return result;
else