(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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user