Skip to content

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

Closed

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.

Activity

  1. added this to the v3.9.0 milestone on Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p3scope:compilerscope:disassemblertype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions