- fixed wrong native call for Actor.Vec2Offset()

https://forum.zdoom.org/viewtopic.php?t=64810
This commit is contained in:
alexey.lysiuk 2019-05-25 17:14:52 +03:00
parent 688f130af6
commit 64ce71eae2

View file

@ -512,7 +512,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, Vec2OffsetZ, Vec2OffsetZ)
static void Vec2Offset(AActor *self, double x, double y, bool absolute, DVector2 *result)
{
*result = self->Vec2OffsetZ(x, y, absolute);
*result = self->Vec2Offset(x, y, absolute);
}
DEFINE_ACTION_FUNCTION_NATIVE(AActor, Vec2Offset, Vec2Offset)