- fix last commit.

One change got lost by the update.
This commit is contained in:
Christoph Oelckers 2022-11-14 23:50:30 +01:00
parent 6e49f0bf8f
commit 3bc34ec773

View file

@ -8338,7 +8338,7 @@ FxExpression *FxMemberFunctionCall::Resolve(FCompileContext& ctx)
else if (Self->IsVector()) else if (Self->IsVector())
{ {
// handle builtins: Vectors got 5. // handle builtins: Vectors got 5.
if (MethodName == NAME_Length || MethodName == NAME_LengthSquared || MethodName == NAME_Unit || MethodName == NAME_Angle) if (MethodName == NAME_Length || MethodName == NAME_LengthSquared || MethodName == NAME_Sum || MethodName == NAME_Unit || MethodName == NAME_Angle)
{ {
if (ArgList.Size() > 0) if (ArgList.Size() > 0)
{ {