We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7dd99 commit 2ecc164Copy full SHA for 2ecc164
Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerTransmissions/Axle.cs
@@ -677,6 +677,8 @@ public void Restore(BinaryReader inf)
677
previousSlipSpeedMpS = inf.ReadSingle();
678
AxleForceN = inf.ReadSingle();
679
AxleSpeedMpS = inf.ReadSingle();
680
+ NumOfSubstepsPS = inf.ReadInt32();
681
+ integratorError = inf.ReadSingle();
682
}
683
684
/// <summary>
@@ -689,6 +691,8 @@ public void Save(BinaryWriter outf)
689
691
outf.Write(previousSlipSpeedMpS);
690
692
outf.Write(AxleForceN);
693
outf.Write(AxleSpeedMpS);
694
+ outf.Write(NumOfSubstepsPS);
695
+ outf.Write(integratorError);
696
697
698
0 commit comments