You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/Orts.Simulation/Simulation/RollingStocks/MSTSLocomotive.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3117,7 +3117,7 @@ public virtual void UpdateFrictionCoefficient(float elapsedClockSeconds)
3117
3117
}
3118
3118
3119
3119
// Adjust adhesion for impact of fog - default = 20000m = 20km
3120
-
floatfog=Simulator.Weather.FogDistance;
3120
+
floatfog=Simulator.Weather.VisibilityM;
3121
3121
if(fog<20000)// as fog thickens then decrease adhesion
3122
3122
{
3123
3123
fogBaseFrictionCoefficientFactor=Math.Min((fog*2.75e-4f+0.6f),1.0f);// If fog is less then 2km then it will impact friction, decrease adhesion to 60% (same as light rain transition)
0 commit comments