FS#6536 - Loading speed is calculated after graphics calculation

Attached to Project: OpenTTD
Opened by George (George) - Wednesday, 04 January 2017, 17:52 GMT
Type Bug
Category Vehicles
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



When I specify loading speed based on cargo graphics, that is changed on new load (random_switch(... bitmask(TRIGGER_VEHICLE_NEW_LOAD)0), the value is not updated before 1-st step of loading. Only the second step gets correct values.
In the example steel frames should be loaded in 2 tics, while tubes in 3 ticks. But as you can see, the values are from previous load.
A GRF to check use a flatbed for steel

This task depends upon