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.
9 parents 960a986 + d394472 + d00beb9 + 776d6df + f8dbeab + 43bf33e + f92de76 + 2a7fb17 + 5a0ff7b commit cc666f0Copy full SHA for cc666f0
Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs
@@ -1284,6 +1284,8 @@ public override void Save(BinaryWriter outf)
1284
outf.Write(DPUnitID);
1285
outf.Write(PreviousGearBoxNotch);
1286
outf.Write(previousChangedGearBoxNotch);
1287
+ outf.Write(DynamicBrake);
1288
+ outf.Write(DynamicBrakeIntervention);
1289
1290
base.Save(outf);
1291
@@ -1339,6 +1341,9 @@ public override void Restore(BinaryReader inf)
1339
1341
PreviousGearBoxNotch = inf.ReadInt32();
1340
1342
previousChangedGearBoxNotch = inf.ReadInt32();
1343
1344
+ DynamicBrake = inf.ReadBoolean();
1345
+ DynamicBrakeIntervention = inf.ReadSingle();
1346
+
1347
base.Restore(inf);
1348
1349
LocomotivePowerSupply?.Restore(inf);
0 commit comments