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

[Bug]: Travel times stored in linkgraph are incorrect for all non-direct journey types #9665

Closed
JGRennison opened this issue Oct 31, 2021 · 0 comments · Fixed by #9693
Closed
Labels
bug Something isn't working

Comments

@JGRennison
Copy link
Contributor

Version of OpenTTD

Since #9457

Expected result

Stored link graph travel times are correct

Actual result

Link graph stored travel times are incorrect in the case where one or more of the following order types is present between the source and destination station orders:

  • Go via waypoint
  • Go via station (i.e. not stopping)
  • Go to station with both no loading and no unloading
  • Depot/hangar order (servicing and taken, or unconditional go to depot/hangar)

current_order_time is the time taken by the current order, not the time taken since cargo was last loaded/unloaded and does not correspond with last_loading_station.

Steps to reproduce

Create an order list using one of the above intermediary order types.

See attached for an example: savegame

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants