File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Source/Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2575,14 +2575,14 @@ public virtual float GetAvailableTractionForceN(float t)
25752575 if ( TractiveForceCurves == null )
25762576 {
25772577 powerW = Math . Min ( powerW , MaxPowerW * t * t * ( 1 - PowerReduction ) ) ;
2578-
2579- if ( AbsTractionSpeedMpS > MaxSpeedMpS - 0.05f )
2578+
2579+ if ( AbsTractionSpeedMpS > MaxSpeedMpS )
25802580 {
2581- forceN = 20 * ( MaxSpeedMpS - AbsTractionSpeedMpS ) * MaxForceN * ( 1 - PowerReduction ) ;
2581+ forceN = 0 ;
25822582 }
2583- else if ( AbsTractionSpeedMpS > MaxSpeedMpS )
2583+ else if ( AbsTractionSpeedMpS > MaxSpeedMpS - 0.05f )
25842584 {
2585- forceN = 0 ;
2585+ forceN = 20 * ( MaxSpeedMpS - AbsTractionSpeedMpS ) * MaxForceN * ( 1 - PowerReduction ) ;
25862586 }
25872587 else
25882588 {
You can’t perform that action at this time.
0 commit comments