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]: Articulated Vehicles not showing correct capacity in buy menu #10032
Labels
bug
Something isn't working
component: NewGRF
This issue is related to NewGRFs
good first issue
Good for newcomers
Comments
One clarification to repro steps. The bug doesn't manifest when the filtered cargo matches the default cargo for the units of the articulated vehicle. |
Weight is wrong too. |
JGRennison
added a commit
to JGRennison/OpenTTD-patches
that referenced
this issue
Sep 16, 2022
Simplify handling of multi-part capacities and refits See: OpenTTD/OpenTTD#9954 See: OpenTTD/OpenTTD#10032
2TallTyler
added
good first issue
Good for newcomers
component: NewGRF
This issue is related to NewGRFs
bug
Something isn't working
labels
Oct 19, 2022
JGRennison
added a commit
to JGRennison/Upstream-OpenTTD
that referenced
this issue
Jan 6, 2023
When refits are in effect See also: OpenTTD#9954
JGRennison
added a commit
to JGRennison/Upstream-OpenTTD
that referenced
this issue
Jan 6, 2023
JGRennison
added a commit
to JGRennison/Upstream-OpenTTD
that referenced
this issue
Jan 7, 2023
JGRennison
added a commit
to JGRennison/Upstream-OpenTTD
that referenced
this issue
Jan 7, 2023
michicc
pushed a commit
to michicc/OpenTTD
that referenced
this issue
Jan 27, 2023
michicc
pushed a commit
to michicc/OpenTTD
that referenced
this issue
Jan 28, 2023
michicc
pushed a commit
that referenced
this issue
Jan 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
component: NewGRF
This issue is related to NewGRFs
good first issue
Good for newcomers
Version of OpenTTD
12.2
Expected result
When a non-default cargo is chosen from the buy menu, vehicle should show the actual capacity of the whole vehicle.
Actual result
If a non-default cargo is chosen from the buy menu, buy menu shows two lines of capacity.
One is displaying a wrong result for the default cargo the vehicle is coded in, the other line shows a different capacity.
When bought, the cargo capacity is as intended by the newgrf.
Steps to reproduce
The text was updated successfully, but these errors were encountered: