Skip to content

Commit 15898bf

Browse files
committed
Correct bug introduced that prevents Cruise control working
1 parent 34a1786 commit 15898bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2798,6 +2798,8 @@ public virtual void AdvancedAdhesion(float elapsedClockSeconds)
27982798
WheelSlip = LocomotiveAxles.IsWheelSlip;
27992799
WheelSlipWarning = LocomotiveAxles.IsWheelSlipWarning;
28002800
}
2801+
2802+
WheelSpeedMpS = (float)LocomotiveAxles[0].AxleSpeedMpS;
28012803
}
28022804

28032805
public void SimpleAdhesion()

0 commit comments

Comments
 (0)