Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.

Found while inspecting the bytecode for godot-benchmarks.
This commit is contained in:
Owen Anderson 2023-01-31 21:52:51 -06:00
parent 3ef8d3e4e8
commit 835309c0a5

View File

@ -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];