Skip to content

Commit ea10bfc

Browse files
committed
Allow tractive force table to work for non-mechanical geared locomotive.
1 parent 69b8ccc commit ea10bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSDieselLocomotive.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ protected override void UpdateTractiveForce(float elapsedClockSeconds, float t,
712712
else
713713
{
714714

715-
if (DieselEngines.HasGearBox)
715+
if (DieselEngines.HasGearBox && DieselTransmissionType == MSTSDieselLocomotive.DieselTransmissionTypes.Mechanic)
716716
{
717717
TractiveForceN = DieselEngines.TractiveForceN;
718718
}

0 commit comments

Comments
 (0)