diff options
author | Dmitrii Maganov <vonagam@gmail.com> | 2023-01-06 11:49:06 +0200 |
---|---|---|
committer | Dmitrii Maganov <vonagam@gmail.com> | 2023-01-06 11:49:06 +0200 |
commit | a8c2f8a0e1c4d4e128bd64084f5e5611005a923d (patch) | |
tree | f620d8462df2f24441cbaec2ec3445afb7b21bef /modules/gdscript/gdscript_codegen.h | |
parent | b14f7aa9f92ff44135c283a9c88dab5ef9136d64 (diff) | |
download | redot-engine-a8c2f8a0e1c4d4e128bd64084f5e5611005a923d.tar.gz |
GDScript: Fix missing conversion for default argument values
Diffstat (limited to 'modules/gdscript/gdscript_codegen.h')
-rw-r--r-- | modules/gdscript/gdscript_codegen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_codegen.h b/modules/gdscript/gdscript_codegen.h index c7a1bcb9e9..e885938eba 100644 --- a/modules/gdscript/gdscript_codegen.h +++ b/modules/gdscript/gdscript_codegen.h @@ -113,7 +113,7 @@ public: virtual void write_assign_with_conversion(const Address &p_target, const Address &p_source) = 0; virtual void write_assign_true(const Address &p_target) = 0; virtual void write_assign_false(const Address &p_target) = 0; - virtual void write_assign_default_parameter(const Address &dst, const Address &src) = 0; + virtual void write_assign_default_parameter(const Address &dst, const Address &src, bool p_use_conversion) = 0; virtual void write_store_global(const Address &p_dst, int p_global_index) = 0; virtual void write_store_named_global(const Address &p_dst, const StringName &p_global) = 0; virtual void write_cast(const Address &p_target, const Address &p_source, const GDScriptDataType &p_type) = 0; |