Skip to content

Commit dfc74d6

Browse files
authored
Merge pull request #468 from peternewell/control-trailer#1
Correct spelling error in manual, and missing setting of parameter https://blueprints.launchpad.net/or/+spec/unpowered-control-car
2 parents 76a3b6a + 4ad4fcb commit dfc74d6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Source/Documentation/Manual/physics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ can be left out are those parameters associated with power, motive force, diesel
20062006
as the compressor and main air reservoir, and some of the diesel effects (as it has no diesel engine).
20072007

20082008
Some of the cab monitoring gauges provide visibility of what is happening on the powered car. To do this OR searches for
2009-
the "closest" powered car near the Control car and uses its infromation.
2009+
the "closest" powered car near the Control car and uses its information.
20102010

20112011

20122012
Engines -- Multiple Units in Same Consist or AI Engines

Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,8 @@ public override void Update(float elapsedClockSeconds)
16431643
MaxMainResPressurePSI = ControlActiveLocomotive.MaxMainResPressurePSI;
16441644
MainResPressurePSI = MaxMainResPressurePSI;
16451645
ControlActiveLocomotive.MainResPressurePSI = MainResPressurePSI;
1646-
controlTrailerBrakeSystemSet = true;
1646+
controlTrailerBrakeSystemSet = true; // Ensure this loop is only processes the first time update routine run
1647+
MaximumMainReservoirPipePressurePSI = ControlActiveLocomotive.MaximumMainReservoirPipePressurePSI;
16471648
CompressorRestartPressurePSI = ControlActiveLocomotive.CompressorRestartPressurePSI;
16481649
MainResChargingRatePSIpS = ControlActiveLocomotive.MainResChargingRatePSIpS;
16491650
BrakePipeChargingRatePSIorInHgpS = ControlActiveLocomotive.BrakePipeChargingRatePSIorInHgpS;

0 commit comments

Comments
 (0)