From 0dfb0d84272fe410d5e4d48abed51efc267424ed Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 7 Dec 2018 10:20:18 +0200 Subject: [PATCH] - fixed broken Z coordinate in Actor.Vec3Angle() native call --- src/scripting/vmthunks_actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/vmthunks_actors.cpp b/src/scripting/vmthunks_actors.cpp index 97e5066fb..2823d9263 100644 --- a/src/scripting/vmthunks_actors.cpp +++ b/src/scripting/vmthunks_actors.cpp @@ -475,7 +475,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, Vec2To, Vec2To) ACTION_RETURN_VEC2(self->Vec2To(t)); } -static void Vec3Angle(AActor *self, double length, double angle, double z, bool absolute, DVector2 *result) +static void Vec3Angle(AActor *self, double length, double angle, double z, bool absolute, DVector3 *result) { *result = self->Vec3Angle(length, angle, z, absolute); }