You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It triggers the argument type assertion because, for some reason, arguments are overwritten when they come from NewGRFs. It can be easily worked around by setting argt to the return type of RemapNewGRFStringControlCode but that's not a fix at all.
I've tried to assign a new argv/argt for each call to RemapNewGRFStringControlCode but even that doesn't seem to work; it works on the saw mill, but fails on the factory. Even bumping the number of arguments that SCC_NEWGRF_PRINT_STRING_ID "takes" doesn't seem to help (it seems to take 3 arguments instead of just one).
buygrush opened the ticket and wrote:
Attachments
Reported version: 1.1.0-beta3
Operating system: Windows
This issue was imported from FlySpray: https://bugs.openttd.org/task/4422
The text was updated successfully, but these errors were encountered: