diff options
| author | Juan Linietsky | 2017-01-11 08:53:31 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-11 08:54:17 -0300 |
| commit | e6583117df95373cffb12105de82d3816ca09f85 (patch) | |
| tree | 9953c32a4b50db9cc99d0999c7904a27748a0ace /modules/gdscript/gd_function.cpp | |
| parent | 57166cd2923cc6d32b37c34f6ca2f32f6941e4a8 (diff) | |
| download | godot-e6583117df95373cffb12105de82d3816ca09f85.tar.gz godot-e6583117df95373cffb12105de82d3816ca09f85.tar.zst godot-e6583117df95373cffb12105de82d3816ca09f85.zip | |
Diffstat (limited to 'modules/gdscript/gd_function.cpp')
| -rw-r--r-- | modules/gdscript/gd_function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp index e3217e921..665998860 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -617,7 +617,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a CHECK_SPACE(1); int argc=_code_ptr[ip+1]; - Array array(true); //arrays are always shared + Array array; //arrays are always shared array.resize(argc); CHECK_SPACE(argc+2); @@ -638,7 +638,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a CHECK_SPACE(1); int argc=_code_ptr[ip+1]; - Dictionary dict(true); //arrays are always shared + Dictionary dict; //arrays are always shared CHECK_SPACE(argc*2+2); |
