Skip to content

Commit dc485c5

Browse files
committed
Increase adhesion multiplier for simple adhesion
1 parent dc2a907 commit dc485c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3422,6 +3422,7 @@ public virtual void UpdateFrictionCoefficient(float elapsedClockSeconds)
34223422
}
34233423

34243424
var AdhesionMultiplier = Simulator.Settings.AdhesionFactor / 100.0f; // Convert to a factor where 100% = no change to adhesion
3425+
if (!AdvancedAdhesionModel) AdhesionMultiplier = Math.Max(AdhesionMultiplier, 1.3f);
34253426
var AdhesionRandom = (float)((float)(Simulator.Settings.AdhesionFactorChange) * 0.01f * 2f * (Simulator.Random.NextDouble() - 0.5f));
34263427

34273428
Train.LocomotiveCoefficientFriction = BaseuMax * BaseFrictionCoefficientFactor * AdhesionMultiplier; // Find friction coefficient factor for locomotive

0 commit comments

Comments
 (0)