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

Fix: example_train grf triggering an error message in OpenTTD #239

Merged
merged 3 commits into from Oct 10, 2021

Conversation

@glx22
Copy link
Contributor

@glx22 glx22 commented Sep 18, 2021

When example was updated to use length callback after removal of shorten_vehicle callback, return values were not updated to the now inverted meaning.

I also removed the old SHORTEN_TO_XXX constants, they are useless without shorten_vehicle.

And fixed an ugly extra line in vehicle detail view.

glx22 added 3 commits Sep 18, 2021
When cargo_capacity is 0 for an articulated part, OpenTTD adds INVALID_CARGO to the list of transported cargos.
@glx22 glx22 merged commit afab827 into OpenTTD:master Oct 10, 2021
21 checks passed
Loading
@glx22 glx22 deleted the example_train branch Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants