From d42b305377d31a4fcf3e01b697a34d10a546b352 Mon Sep 17 00:00:00 2001 From: Thakee Nathees Date: Sat, 5 Sep 2020 03:16:23 +0530 Subject: GDScript default argument override bug fix Fix: #41766 --- modules/gdscript/gdscript_byte_codegen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdscript/gdscript_byte_codegen.h') diff --git a/modules/gdscript/gdscript_byte_codegen.h b/modules/gdscript/gdscript_byte_codegen.h index 62438b6dd2..f3a333c4d7 100644 --- a/modules/gdscript/gdscript_byte_codegen.h +++ b/modules/gdscript/gdscript_byte_codegen.h @@ -239,6 +239,7 @@ public: virtual void write_assign(const Address &p_target, const Address &p_source) override; virtual void write_assign_true(const Address &p_target) override; virtual void write_assign_false(const Address &p_target) override; + virtual void write_assign_default_parameter(const Address &p_dst, const Address &p_src) override; virtual void write_cast(const Address &p_target, const Address &p_source, const GDScriptDataType &p_type) override; virtual void write_call(const Address &p_target, const Address &p_base, const StringName &p_function_name, const Vector
&p_arguments) override; virtual void write_super_call(const Address &p_target, const StringName &p_function_name, const Vector
&p_arguments) override; -- cgit v1.2.3