File tree 1 file changed +2
-2
lines changed
Source/Orts.Simulation/Simulation/RollingStocks
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2465,7 +2465,7 @@ protected virtual void UpdateControllers(float elapsedClockSeconds)
2465
2465
{
2466
2466
LocalDynamicBrakePercent = Math . Max ( LocalDynamicBrakePercent , CruiseControl . DynamicBrakePercent . Value ) ;
2467
2467
}
2468
- if ( DynamicBrakeController != null && DynamicBrakeController . CurrentValue > 0 )
2468
+ if ( DynamicBrakeController != null && DynamicBrakeController . SavedValue > 0 )
2469
2469
{
2470
2470
LocalDynamicBrakePercent = Math . Max ( LocalDynamicBrakePercent , DynamicBrakeController . SavedValue * 100 ) ;
2471
2471
}
@@ -5069,7 +5069,7 @@ public bool CheckDisableDynamicBrake()
5069
5069
protected bool CanUseDynamicBrake ( )
5070
5070
{
5071
5071
return ( DynamicBrakeController != null
5072
- && ThrottlePercent == 0 ) ;
5072
+ && ThrottleController . CurrentValue == 0 ) ;
5073
5073
}
5074
5074
5075
5075
public override string GetDynamicBrakeStatus ( )
You can’t perform that action at this time.
0 commit comments