mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
String parameters are always stored as uint64_t. Negative values are sign-extended to int64_t and then casted to uint64_t. The same applies to encoded strings. But ScriptText encoded them as int64_t. Co-authored-by: rubidium42 <rubidium42@users.noreply.github.com>