Skip to content

wrong compilation when maximum parameters are given to a variadic command #240

@x87

Description

@x87
0A94: load_and_launch_custom_mission "mission" 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

this has 35 parameters, which is the maximum for the SA PC target, but the compiler misses the terminator byte at the end of the bytecode. it works if 34 params are given.

since the last two params are for the timerA and timerB in the new script, a code like this should be very rare.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions