Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading speed is calculated after graphics calculation #6536

Closed
DorpsGek opened this issue Jan 4, 2017 · 2 comments
Closed

Loading speed is calculated after graphics calculation #6536

DorpsGek opened this issue Jan 4, 2017 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jan 4, 2017

George opened the ticket and wrote:

R27706

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 http://bundles.openttdcoop.org/xussrset/nightlies/v6212-1796/ use a flatbed for steel

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6536
@DorpsGek
Copy link
Member Author

peter1138 wrote:

Please test this patch which should fix it. Or break horribly. I don't know, I've not tested it beyond making sure it compiles.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6536#comment14359

@DorpsGek
Copy link
Member Author

peter1138 closed the ticket.

Reason for closing: Fixed

In r27788


This comment was imported from FlySpray: https://bugs.openttd.org/task/6536

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant