File tree 1 file changed +2
-2
lines changed
Source/Orts.Simulation/Simulation/Physics
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4104,7 +4104,7 @@ public void UnconditionalInitializeBrakes()
4104
4104
fullServPressurePSI = lead.BrakeSystem is VacuumSinglePipe ? 16 : maxPressurePSI - lead.TrainBrakeController.FullServReductionPSI;
4105
4105
EqualReservoirPressurePSIorInHg = Math.Min(maxPressurePSI, EqualReservoirPressurePSIorInHg);
4106
4106
lead.TrainBrakeController.UpdatePressure(ref EqualReservoirPressurePSIorInHg, 1000, ref BrakeLine4);
4107
- if (!(lead.BrakeSystem is EPBrakeSystem))
4107
+ if (!(lead.BrakeSystem is EPBrakeSystem) && !(lead.BrakeSystem is SMEBrakeSystem) )
4108
4108
BrakeLine4 = -1;
4109
4109
EqualReservoirPressurePSIorInHg =
4110
4110
MathHelper.Max(EqualReservoirPressurePSIorInHg, fullServPressurePSI);
@@ -4436,7 +4436,7 @@ public void PropagateBrakePressure(float elapsedClockSeconds)
4436
4436
if (lead.TrainBrakeController != null)
4437
4437
{
4438
4438
lead.TrainBrakeController.UpdatePressure(ref EqualReservoirPressurePSIorInHg, elapsedClockSeconds, ref BrakeLine4);
4439
- if (!(lead.BrakeSystem is EPBrakeSystem))
4439
+ if (!(lead.BrakeSystem is EPBrakeSystem) && !(lead.BrakeSystem is SMEBrakeSystem) )
4440
4440
BrakeLine4 = -1;
4441
4441
}
4442
4442
if (lead.EngineBrakeController != null)
You can’t perform that action at this time.
0 commit comments