mirror of https://github.com/OpenTTD/OpenTTD
Fix #11528: Fixed typo.
parent
7b9e5dc4e0
commit
5941fb3257
|
@ -898,7 +898,7 @@ static CommandCost CmdRailTrackHelper(DoCommandFlags flags, TileIndex tile, Tile
|
||||||
redundant_track = true; // Either above tunnel or below bridge and perpendicular, which means unnecessary to build.
|
redundant_track = true; // Either above tunnel or below bridge and perpendicular, which means unnecessary to build.
|
||||||
skip = true;
|
skip = true;
|
||||||
} else if (redundant_track) {
|
} else if (redundant_track) {
|
||||||
redundand_track = false; // The tunnel/bridge has ended, the next track should be built.
|
redundant_track = false; // The tunnel/bridge has ended, the next track should be built.
|
||||||
} else if (!first_tile && GetTunnelBridgeDirection(tile) == TrackdirToExitdir(ReverseTrackdir(trackdir))) {
|
} else if (!first_tile && GetTunnelBridgeDirection(tile) == TrackdirToExitdir(ReverseTrackdir(trackdir))) {
|
||||||
break; // Upon running into a bridge ramp from the underside, we should stop building tracks.
|
break; // Upon running into a bridge ramp from the underside, we should stop building tracks.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue