mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- fixed broken Z coordinate in Actor.Vec3Angle() native call
This commit is contained in:
parent
a7c4fc9dc2
commit
0dfb0d8427
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue