Merge pull request #72490 from resistor/disasm

Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
This commit is contained in:
Rémi Verschelde 2023-02-01 08:02:04 +01:00
commit 9aeda3b282
No known key found for this signature in database
GPG key ID: C3336907360768E1

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