ClientStructs-ify stuff

This commit is contained in:
Exter-N 2025-08-09 03:31:17 +02:00 committed by Ottermandias
parent 46cfbcb115
commit 11cd08a9de
2 changed files with 2 additions and 5 deletions

View file

@ -258,8 +258,7 @@ public class ResourceTree(
for (var i = 0; i < skeleton->PartialSkeletonCount; ++i)
{
// TODO ClientStructs-ify (aers/FFXIVClientStructs#1475)
var phybHandle = physics != null ? ((ResourceHandle**)((nint)physics + 0x190))[i] : null;
var phybHandle = physics != null ? physics->BonePhysicsResourceHandles[i] : null;
if (context.CreateNodeFromPartialSkeleton(&skeleton->PartialSkeletons[i], phybHandle, (uint)i) is { } sklbNode)
{
if (context.Global.WithUiData)