1
0
Fork 0

Fix #11528: Fixed typo.

pull/13861/head
John Taylor 2025-03-21 16:09:35 +01:00
parent 7b9e5dc4e0
commit 5941fb3257
1 changed files with 1 additions and 1 deletions

View File

@ -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.
skip = true;
} 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))) {
break; // Upon running into a bridge ramp from the underside, we should stop building tracks.
}