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 e90cf2b commit f8dbeabCopy full SHA for f8dbeab
Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs
@@ -1279,6 +1279,8 @@ public override void Save(BinaryWriter outf)
1279
outf.Write(DPUnitID);
1280
outf.Write(PreviousGearBoxNotch);
1281
outf.Write(previousChangedGearBoxNotch);
1282
+ outf.Write(DynamicBrake);
1283
+ outf.Write(DynamicBrakeIntervention);
1284
1285
base.Save(outf);
1286
@@ -1334,6 +1336,9 @@ public override void Restore(BinaryReader inf)
1334
1336
PreviousGearBoxNotch = inf.ReadInt32();
1335
1337
previousChangedGearBoxNotch = inf.ReadInt32();
1338
1339
+ DynamicBrake = inf.ReadBoolean();
1340
+ DynamicBrakeIntervention = inf.ReadSingle();
1341
+
1342
base.Restore(inf);
1343
1344
LocomotivePowerSupply?.Restore(inf);
0 commit comments