Skip to content

Commit 659396e

Browse files
authored
Undo bail off change
Removing the change to bail off rate, will add the change back in a subsequent pull request
1 parent 8106ea1 commit 659396e

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ public override void Update(float elapsedClockSeconds)
10631063
// BailOff
10641064
if (engineBrakeStatus == ControllerState.BailOff)
10651065
{
1066-
AutoCylPressurePSI -= Math.Max(MaxReleaseRatePSIpS, loco.EngineBrakeReleaseRatePSIpS) * elapsedClockSeconds;
1066+
AutoCylPressurePSI -= MaxReleaseRatePSIpS * elapsedClockSeconds;
10671067
if (AutoCylPressurePSI < 0) AutoCylPressurePSI = 0;
10681068
}
10691069
// Emergency application
@@ -1105,7 +1105,7 @@ public override void Update(float elapsedClockSeconds)
11051105
}
11061106
else
11071107
{
1108-
AutoCylPressurePSI -= Math.Max(MaxReleaseRatePSIpS, loco.EngineBrakeReleaseRatePSIpS) * elapsedClockSeconds;
1108+
AutoCylPressurePSI -= MaxReleaseRatePSIpS * elapsedClockSeconds;
11091109
if (AutoCylPressurePSI < 0)
11101110
AutoCylPressurePSI = 0;
11111111
}

0 commit comments

Comments
 (0)