Skip to content

Commit 933a97d

Browse files
committed
Disable advanced adhesion for trailer control cars.
1 parent 37dbd8e commit 933a97d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,8 +1702,8 @@ public override void Update(float elapsedClockSeconds)
17021702
}
17031703

17041704

1705-
1706-
if (Simulator.UseAdvancedAdhesion && !Simulator.Settings.SimpleControlPhysics) // SimpleControlPhysics will "disable" advanced adhesion if set.
1705+
// SimpleControlPhysics and if locomotive is a control car advanced adhesion will be "disabled".
1706+
if (Simulator.UseAdvancedAdhesion && !Simulator.Settings.SimpleControlPhysics && EngineType != EngineTypes.Control)
17071707
{
17081708
AdvancedAdhesion(elapsedClockSeconds); // Use advanced adhesion model
17091709
AdvancedAdhesionModel = true; // Set flag to advise advanced adhesion model is in use

0 commit comments

Comments
 (0)