- fixed broken Z coordinate in Actor.Vec3Angle() native call

This commit is contained in:
alexey.lysiuk 2018-12-07 10:20:18 +02:00
parent a7c4fc9dc2
commit 0dfb0d8427

View file

@ -475,7 +475,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, Vec2To, Vec2To)
ACTION_RETURN_VEC2(self->Vec2To(t)); 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); *result = self->Vec3Angle(length, angle, z, absolute);
} }