Skip to content

Fix: Procedure calls reference counting - #447

Merged
glx22 merged 1 commit into
OpenTTD:masterfrom
glx22:proc_refcount
Oct 10, 2026
Merged

glx22 merged 1 commit into
OpenTTD:masterfrom
glx22:proc_refcount

Conversation

@glx22

@glx22 glx22 commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Procedures calls used as result parameters are not properly reference counted, so their ID is "not set" and latest defined will override all others.

Fix the reference counting.

@glx22
glx22 merged commit 4a745a6 into OpenTTD:master Oct 10, 2026
24 checks passed
@glx22
glx22 deleted the proc_refcount branch October 10, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants