MaxTractiveForceCurves not working without Advanced adhesion

Bug #1196333 reported by Tejesember
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Matej Pacha

Bug Description

When Advanced adhesion is turned off, OR always uses 0 speed to calculate motive force, while using MaxTractiveForceCurves.
I'm not a C# programmer, but with my experience in PHP, I could find that the problem is in RollingStock/MSTSLocomotive.cs.
Here's a patch, just relocating the check for advanced adhesion.

Revision history for this message
Tejesember (tejes) wrote :
Revision history for this message
Matej Pacha (matej-pacha) wrote :

Glad to hear someone is actually using this feature. Your patch seems to be correct.
Thank you.

Changed in or:
assignee: nobody → Matej Pacha (matej-pacha)
status: New → In Progress
Revision history for this message
Matej Pacha (matej-pacha) wrote :

Fixed in v1672

Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
importance: Undecided → Medium
James Ross (twpol)
Changed in or:
milestone: none → 1.0
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.