Skip to content

Commit b81c6fc

Browse files
committed
Speed selector is discrete by default
1 parent 13230d5 commit b81c6fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/Documentation/Manual/cruisecontrol.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ A list of the available .eng file CC parameters follows here below.
137137
"UseThrottleAsForceSelector", "if ControllerCruiseControlLogic is set to None, throttle when in Auto mode will change the maximum CC Force", "Boolean", "FALSE"
138138
"ControllerCruiseControlLogic", "Can have values 'None', 'SpeedOnly', 'Full'", "Enum", "Full"
139139
"HasProportionalSpeedSelector", "Speed selector is performed by a lever ranging from 0 to max speed", "Boolean", "FALSE"
140-
"SpeedSelectorIsDiscrete", "Speed selected can have only values multiple of NominalSpeedStep", "Boolean", "FALSE"
140+
"SpeedSelectorIsDiscrete", "Speed selected can have only values multiple of NominalSpeedStep", "Boolean", "TRUE"
141141
"ModeSwitchAllowedWithThrottleNotAtZero", "Switch from manual to auto and vice-versa can occur also when throttle lever is not at 0", "Boolean", "FALSE"
142142
"DisableManualSwitchToAutoWhenSetSpeedNotAtTop", "Manual Switch to Cruise Control Auto Mode can't occur when speed is not set at maximum value and at the same moment train speed is not 0", "Boolean", "FALSE"
143143
"UseTrainBrakeAndDynBrake", "CC uses train brake and dyn brake together", "Boolean", "FALSE"

Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/CruiseControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public enum SpeedSelectorMode { Parking, Neutral, On, Start }
170170
public bool BrakeCommandHasPriorityOverASCBraking = false;
171171
public bool HasIndependentThrottleDynamicBrakeLever = false;
172172
public bool HasProportionalSpeedSelector = false;
173-
public bool SpeedSelectorIsDiscrete = false;
173+
public bool SpeedSelectorIsDiscrete = true;
174174
public bool DoComputeNumberOfAxles = false;
175175
public bool DisableManualSwitchToAutoWhenSetSpeedNotAtTop = false;
176176
public bool EnableSelectedSpeedSelectionWhenManualModeSet = false;

0 commit comments

Comments
 (0)