Skip to content

Commit 6a530c3

Browse files
committed
Automatic merge of T1.5.1-368-g38888b34f and 9 pull requests
- Pull request #570 at de7a14f: Experimental glTF 2.0 support with PBR lighting - Pull request #732 at 22f66dc: Improvements for air brakes - Pull request #751 at 00981a2: Web interface to control cab controls with external hardware - Pull request #799 at dc03850: Consolidated wind simulation - Pull request #803 at 7157e08: Various adjustments to steam adhesion - Pull request #813 at a23bd5c: Refactored garbage generators - Pull request #814 at b102c1c: Bug fix for https://bugs.launchpad.net/or/+bug/2013969 Crash after uncoupling player loco of a train with EOT - Pull request #815 at a5cc165: chore: Add GitHub automatic release notes configuration - Pull request #816 at eae646d: Bug fix for https://bugs.launchpad.net/or/+bug/2014992 EOT can't be dismounted after train reversal
11 parents e85dfe1 + 38888b3 + de7a14f + 22f66dc + 00981a2 + dc03850 + 7157e08 + a23bd5c + b102c1c + a5cc165 + eae646d commit 6a530c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/Controllers/MSTSBrakeController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public override void UpdatePressure(ref float pressureBar, float elapsedClockSec
185185
case ControllerState.VacApplyContServ:
186186
// Continuous service position for vacuum brakes - allows brake to be adjusted up and down continuously between the ON and OFF position
187187
pressureBar = (1 - x) * MaxPressureBar();
188+
epState = -1;
188189
break;
189190
case ControllerState.EPApply:
190191
case ControllerState.EPOnly:
@@ -219,6 +220,7 @@ public override void UpdatePressure(ref float pressureBar, float elapsedClockSec
219220
x = MaxPressureBar() - FullServReductionBar() * (notch.Smooth ? x : CurrentValue());
220221
IncreasePressure(ref pressureBar, Math.Min(x, MainReservoirPressureBar()), ReleaseRateBarpS(), elapsedClockSeconds);
221222
DecreasePressure(ref pressureBar, x, ApplyRateBarpS(), elapsedClockSeconds);
223+
epState = -1;
222224
break;
223225
}
224226

0 commit comments

Comments
 (0)