Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
Found while inspecting the bytecode for godot-benchmarks.
This commit is contained in:
parent
3ef8d3e4e8
commit
835309c0a5
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ void GDScriptFunction::disassemble(const Vector<String> &p_code_lines) const {
|
|||
|
||||
text += "]";
|
||||
|
||||
incr += 3 + argc;
|
||||
incr += 4 + instr_var_args;
|
||||
} break;
|
||||
case OPCODE_CONSTRUCT_DICTIONARY: {
|
||||
int instr_var_args = _code_ptr[++ip];
|
||||
|
|
Loading…
Reference in a new issue