Skip to content

Commit 2fcbcde

Browse files
committed
Link blending to dynamic brake availability instead of power
1 parent 7d9eda4 commit 2fcbcde

File tree

1 file changed

+3
-0
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS

1 file changed

+3
-0
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS/AirSinglePipe.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,6 +1680,9 @@ public override void Update(float elapsedClockSeconds)
16801680
}
16811681
}
16821682
}
1683+
}
1684+
if (loco.LocomotivePowerSupply.DynamicBrakeAvailable)
1685+
{
16831686
if (loco.DynamicBrakePercent > 0 && Car.FrictionBrakeBlendingMaxForceN > 0)
16841687
{
16851688
if (loco.DynamicBrakePartialBailOff)

0 commit comments

Comments
 (0)