From a2be3e8f504d736d7eefb87fb9a74a4cb91f1fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Wed, 30 Apr 2025 17:09:19 -0300 Subject: [PATCH] fix bone dir return type --- wadsrc/static/zscript/actors/actor.zs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/actors/actor.zs b/wadsrc/static/zscript/actors/actor.zs index 89c6a0ed42..8d23ea6881 100644 --- a/wadsrc/static/zscript/actors/actor.zs +++ b/wadsrc/static/zscript/actors/actor.zs @@ -1407,8 +1407,8 @@ class Actor : Thinker native native version("4.15.1") double GetNamedBoneLength(Name boneName); // this is the direction of the bone in the armature, does not take the current animation or offset into account at all - native version("4.15.1") double GetBoneDir(int boneIndex); - native version("4.15.1") double GetNamedBoneDir(Name boneName); + native version("4.15.1") Vector3 GetBoneDir(int boneIndex); + native version("4.15.1") Vector3 GetNamedBoneDir(Name boneName); //================================================ //