Skip to content

Commit 982afb6

Browse files
committed
Fix missing function input parameter
1 parent 5f5f1f5 commit 982afb6

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ public override void Initialize()
695695
airPV[4] = AdvancedBrakeCylinderAir(Math.Max(nomPSI, ReferencePressurePSI), true);
696696
// Absolute maximum cylinder travel limited to 160% of nominal
697697
cylTravel[5] = CylStrokeM * 1.6f;
698-
airPV[5] = AdvancedBrakeCylinderAir((cylTravel[5] - cylTravel[2]) / strokePerPsi);
698+
airPV[5] = AdvancedBrakeCylinderAir((cylTravel[5] - cylTravel[2]) / strokePerPsi , true);
699699

700700
cylTravel[6] = cylTravel[5];
701701
airPV[6] = airPV[5] * 2.0f;

0 commit comments

Comments
 (0)