summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-01 08:02:04 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-01 08:02:04 +0100
commit9aeda3b28222733d7a2a1175e32fca78560504fe (patch)
treefcc06711fd95330d0584dbc02ed1d24cc8ce6a61 /modules
parent7990b76ad81359fe9273b0ecd7eaa32ef9c1d574 (diff)
parent835309c0a5279bef0dff40baadbbafb56d7d2827 (diff)
Merge pull request #72490 from resistor/disasm
Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY.
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript_disassembler.cpp2
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];