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 f2cab72: Called procedures may receive wrong values in parameters #227

merged 1 commit into from Jul 27, 2021


Copy link

@glx22 glx22 commented Jul 17, 2021

When temporary intermediate variables are used, register number was passed as call parameter instead of the register content.

It's quite obvious in NFO diffs (\2r 1A vs \2r 7D), but I totally missed it before.

Copy link

andythenorth commented Jul 18, 2021

Fixes this FIRS test case as expected.

@glx22 glx22 merged commit 8ed9791 into OpenTTD:master Jul 27, 2021
21 checks passed
@glx22 glx22 deleted the temp_vars branch Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants