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 2ad5ea80d..17b803628 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -1310,7 +1310,7 @@ static uint32 GetTileTrackStatus_TunnelBridge(TileIndex tile, TransportType mode result = AxisToTrackBits(GetBridgeAxis(tile)) * 0x101; } if ((IsTransportUnderBridge(tile) && mode == GetTransportTypeUnderBridge(tile)) || - (IsWaterUnderBridge(tile) && mode == TRANSPORT_WATER)) { + (IsWaterUnderBridge(tile) && mode == TRANSPORT_WATER && GetTileSlope(tile, NULL) == SLOPE_FLAT)) { result |= AxisToTrackBits(OtherAxis(GetBridgeAxis(tile))) * 0x101; } return result; |