File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Brakes/MSTS Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments