branch | custombridgeheads |
changeset 5598 | 166345600ba9 |
parent 5595 | 049ed4486972 |
child 5599 | a18b0c2587f7 |
--- a/bridge_cmd.c Fri Dec 29 12:45:44 2006 +0000 +++ b/bridge_cmd.c Sat Dec 30 11:57:57 2006 +0000 @@ -921,6 +921,8 @@ static uint32 GetTileTrackStatus_Bridge(TileIndex tile, TransportType mode) { if (GetBridgeTransportType(tile) != mode) return 0; + + if (IsTileType(tile, MP_RAILWAY_BRIDGE)) return GetTileTrackStatus_Track(tile, mode); return AxisToTrackBits(DiagDirToAxis(GetBridgeRampDirection(tile))) * 0x101; }