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
GRF integer parameters can be given negative values. #57
Comments
Definitely an OpenTTD issue, should not be able to crash the game like that :p |
Hmm true. Should this maybe be reopened as a issue on OpenTTD/OpenTTD? |
It should, but I'd say it's a valid issue that nml allows it as well |
glx22
added a commit
to glx22/nml
that referenced
this issue
Nov 23, 2019
glx22
added a commit
to glx22/nml
that referenced
this issue
Nov 24, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When giving a grf parameter a negative value, the compiler doesn't complain. Though OpenTTD has an assertion check to see if the values of the dropdown are positive.
Example:
A zip containing the .grf and the .nml file.
grf.zip
Not sure, but maybe this is a OpenTTD related issue. This issue exists in various versions of OpenTTD, aswell as in JGR.
The text was updated successfully, but these errors were encountered: