From c7dc4f0f0fb02fb95776f02db261c54ded8671d9 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 25 May 2019 17:14:52 +0300 Subject: [PATCH] - fixed wrong native call for Actor.Vec2Offset() https://forum.zdoom.org/viewtopic.php?t=64810 --- 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 d37600444f..1a68b340c0 100644 --- a/src/scripting/vmthunks_actors.cpp +++ b/src/scripting/vmthunks_actors.cpp @@ -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)