We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd63a3 commit 7eebedcCopy full SHA for 7eebedc
Source/RunActivity/Viewer3D/RollingStock/MSTSLocomotiveViewer.cs
@@ -2147,10 +2147,8 @@ public virtual int GetDrawIndex()
2147
{
2148
if (Locomotive.CruiseControl != null)
2149
2150
- if ((Locomotive.CruiseControl.SpeedRegMode == Simulation.RollingStocks.SubSystems.CruiseControl.SpeedRegulatorMode.Auto && !Locomotive.CruiseControl.DynamicBrakePriority) || Locomotive.DynamicBrakeIntervention > 0)
2151
- {
+ if (Locomotive.CruiseControl.SpeedRegMode == Simulation.RollingStocks.SubSystems.CruiseControl.SpeedRegulatorMode.Auto && !Locomotive.CruiseControl.DynamicBrakePriority)
2152
index = 0;
2153
- }
2154
else
2155
index = PercentToIndex(dynBrakePercent);
2156
}
0 commit comments