fuel and freight not loaded in a specific case (x.3275)

Bug #1503553 reported by Carlo Santucci
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Low
Carlo Santucci

Bug Description

If min loading speed is 0 and max loading speed is > 0, fuel and freight are not loaded if running in the allowed range.
This is because a previous test is done with min loading speed = 0. If this occurs, it is assumed that load can occur only at speed = 0.
Instead such test should be done with max loading speed = 0; this occurs also with legacy MSTS pickups.

Tags: physics
Changed in or:
assignee: nobody → Carlo Santucci (carlosanit1)
status: New → Fix Committed
summary: - fuel and freight not loaded in a specific case
+ fuel and freight not loaded in a specific case (x.3275)
James Ross (twpol)
Changed in or:
milestone: none → 1.1
importance: Undecided → Low
Revision history for this message
kocoxyz (mstsx) wrote :

hello:

public void AttemptToRefillOrUnload()

match == null -----true

!(loco is MSTSElectricLocomotive)---------false

run is report BUG

Revision history for this message
Carlo Santucci (carlosanit1) wrote :

Thank you. This was in effect a different, pre-existing bug. Fixed in x.3278.

Changed in or:
status: Fix Committed → In Progress
status: In Progress → Fix Committed
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.