diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 08:02:04 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-01 08:02:04 +0100 |
commit | 9aeda3b28222733d7a2a1175e32fca78560504fe (patch) | |
tree | fcc06711fd95330d0584dbc02ed1d24cc8ce6a61 | |
parent | 7990b76ad81359fe9273b0ecd7eaa32ef9c1d574 (diff) | |
parent | 835309c0a5279bef0dff40baadbbafb56d7d2827 (diff) |
Merge pull request #72490 from resistor/disasm
Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
-rw-r--r-- | modules/gdscript/gdscript_disassembler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_disassembler.cpp b/modules/gdscript/gdscript_disassembler.cpp index b5c8a6f478..9070ba93e7 100644 --- a/modules/gdscript/gdscript_disassembler.cpp +++ b/modules/gdscript/gdscript_disassembler.cpp @@ -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]; |