You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1749,23 +1749,23 @@ public override void Update(float elapsedClockSeconds)
1749
1749
}
1750
1750
1751
1751
// If the train is vacuumed braked then no need to update the compressor, but udate the ejector instead
1752
-
if(BrakeSystemisVacuumSinglePipe)
1753
-
{
1754
-
1755
-
if(VacuumBrakeEQFitted)// Only update exhauster/main reservoir on locomotives fitted ith an EQ reservoir
1756
-
{
1752
+
if(BrakeSystemisVacuumSinglePipe)
1753
+
{
1754
+
1755
+
if(VacuumBrakeEQFitted)// Only update exhauster/main reservoir on locomotives fitted ith an EQ reservoir
1756
+
{
1757
1757
UpdateVacuumExhauster(elapsedClockSeconds);
1758
-
}
1759
-
else
1760
-
{
1761
-
UpdateSteamEjector(elapsedClockSeconds);
1762
-
}
1763
-
1764
-
}
1765
-
elseif(EngineType!=EngineTypes.Control)// TODO - Control trailers would not have compressors, but if they do then need to be linked to power supply requirements
1766
-
{
1767
-
UpdateCompressor(elapsedClockSeconds);
1768
-
}
1758
+
}
1759
+
else
1760
+
{
1761
+
UpdateSteamEjector(elapsedClockSeconds);
1762
+
}
1763
+
1764
+
}
1765
+
elseif(EngineType!=EngineTypes.Control)// TODO - Control trailers would not have compressors, but if they do then need to be linked to power supply requirements
sumpv-=dp*brakeSystem.GetCylVolumeM3()/lead.MainResVolumeM3;// TODO - On control cars there may not be a main reservoir, so this value is may not be correct
804
804
}
805
805
elseif(p>train.BrakeLine3PressurePSI)// Release the engine brake as the pressure increases in the brake cylinder
0 commit comments