Skip to content

Commit 42083f9

Browse files
CsantucciYoRyan
andauthored
Update Source/Orts.Simulation/Simulation/Physics/Train.cs
Correct typo Co-authored-by: Ryan Young <ryan@youngryan.com>
1 parent ec4ac33 commit 42083f9

File tree

1 file changed

+1
-1
lines changed
  • Source/Orts.Simulation/Simulation/Physics

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/Physics/Train.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11622,7 +11622,7 @@ public void TryIncrementSubpath()
1162211622
if (incorporatedTrain.PresentPosition[0].TCSectionIndex != PresentPosition[1].TCSectionIndex && incorporatedTrain.PresentPosition[1].TCSectionIndex != PresentPosition[1].TCSectionIndex)
1162311623
IncrementSubpath(incorporatedTrain);
1162411624
incorporatedTrain.PresentPosition[0].TCSectionIndex = -1;
11625-
incorporatedTrain.PresentPosition[0].TCSectionIndex = -1;
11625+
incorporatedTrain.PresentPosition[1].TCSectionIndex = -1;
1162611626
}
1162711627
}
1162811628

0 commit comments

Comments
 (0)