sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
49 stars 0 forks source link

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

Closed x87 closed 1 year ago

x87 commented 1 year ago
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.