1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-31 16:14:29 +01:00

Fix f30f808b50: Bridge over bridge head could be built one level too low. (#14564)

This commit is contained in:
Peter Nelson
2025-08-31 19:15:49 +01:00
committed by GitHub
parent febf8b0d57
commit a23970af32

View File

@@ -2103,7 +2103,7 @@ static CommandCost CheckBuildAbove_TunnelBridge(TileIndex tile, DoCommandFlags f
{
if (IsTunnel(tile)) return CommandCost();
if (axis != DiagDirToAxis(GetTunnelBridgeDirection(tile)) && height >= GetBridgeHeight(tile)) {
if (axis != DiagDirToAxis(GetTunnelBridgeDirection(tile)) && height > GetBridgeHeight(tile)) {
return CommandCost();
}