Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
Found while inspecting the bytecode for godot-benchmarks.
This commit is contained in:
1 parent
3ef8d3e4e8
commit
835309c0a5
1 file changed
+1
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user