diff options
author | romulox_x <romulox_x@yahoo.com> | 2015-04-27 14:45:54 -0700 |
---|---|---|
committer | romulox_x <romulox_x@yahoo.com> | 2015-04-27 14:45:54 -0700 |
commit | 79c36ea5f72d32dc08c1144eb28dcb9e6202643d (patch) | |
tree | d04c35960aec4aa0ef2c373a00436493741ceaa6 /core | |
parent | 0adca0a7c9e44177df4cefd1f414359a4edb419b (diff) |
fixed ColorArray constructor when taking array as parameter
Diffstat (limited to 'core')
-rw-r--r-- | core/variant_call.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index a024c0068a..c48336d2ff 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1032,7 +1032,7 @@ Variant Variant::construct(const Variant::Type p_type,const Variant** p_args,int case STRING_ARRAY: return (StringArray(*p_args[0])); case VECTOR2_ARRAY: return (Vector2Array(*p_args[0])); // 25 case VECTOR3_ARRAY: return (Vector3Array(*p_args[0])); // 25 - case COLOR_ARRAY: return (Color(*p_args[0])); + case COLOR_ARRAY: return (ColorArray(*p_args[0])); default: return Variant(); } } |