From 5941fb3257277e9573d1f6056390e7b8fd3e63da Mon Sep 17 00:00:00 2001 From: John Taylor Date: Fri, 21 Mar 2025 16:09:35 +0100 Subject: [PATCH] Fix #11528: Fixed typo. --- src/rail_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index c21a305bd0..136f1a175c 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -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. }