diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-07-26 08:40:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 08:40:39 +0300 |
commit | 39754ea7a2d9885505253da6799a1d31cd722a90 (patch) | |
tree | f52375371decdc499ac2eaf73a5ab65f6eea7360 | |
parent | 3e0e84a54c1c5666c32dbc2abd419b61e071ba33 (diff) | |
parent | e4a961b86a34a71bd2543214cab734ed3ee2038b (diff) |
Merge pull request #63469 from KoBeWi/copy-paste_of_despair
Fix Vector4 parse error
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index fce3e77dc0..e8fa2981ba 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -60,8 +60,8 @@ Variant::Type GDScriptParser::get_builtin_type(const StringName &p_type) { builtin_types["Transform2D"] = Variant::TRANSFORM2D; builtin_types["Vector3"] = Variant::VECTOR3; builtin_types["Vector3i"] = Variant::VECTOR3I; - builtin_types["Vector4"] = Variant::VECTOR3; - builtin_types["Vector4i"] = Variant::VECTOR3I; + builtin_types["Vector4"] = Variant::VECTOR4; + builtin_types["Vector4i"] = Variant::VECTOR4I; builtin_types["AABB"] = Variant::AABB; builtin_types["Plane"] = Variant::PLANE; builtin_types["Quaternion"] = Variant::QUATERNION; |