Skip to content

Commit

Permalink
fixup! Added pick_random_X opcodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Nov 26, 2024
1 parent 388895f commit eb1ec85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cleo_plugins/Math/Math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ class Math
OPCODE_SKIP_PARAMS(valueCount - (idx + 1)); // seek to output param
OPCODE_WRITE_PARAM_INT(value);

CLEO_SkipUnusedVarArgs(thread); // var args terminator
CLEO_SkipUnusedVarArgs(thread);
return OR_CONTINUE;
}

Expand All @@ -548,6 +548,7 @@ class Math
OPCODE_SKIP_PARAMS(valueCount - (idx + 1)); // seek to output param
OPCODE_WRITE_PARAM_FLOAT(value);

CLEO_SkipUnusedVarArgs(thread);
return OR_CONTINUE;
}

Expand All @@ -573,7 +574,7 @@ class Math
OPCODE_SKIP_PARAMS(valueCount - (idx + 1)); // seek to output param
OPCODE_WRITE_PARAM_STRING(value);

CLEO_SkipUnusedVarArgs(thread); // var args terminator
CLEO_SkipUnusedVarArgs(thread);
return OR_CONTINUE;
}
} Instance;

0 comments on commit eb1ec85

Please sign in to comment.