This commit is contained in:
2025-12-18 04:46:44 +09:00
parent f47df8fac2
commit 1d212437f5
8 changed files with 21 additions and 926 deletions

View File

@@ -783,7 +783,7 @@ public sealed class ActorObjectService : IHostedService, IDisposable
if (drawObject == null)
return false;
if (gameObject->RenderFlags == 2048)
if ((ushort)gameObject->RenderFlags == 2048)
return false;
var characterBase = (CharacterBase*)drawObject;

View File

@@ -752,7 +752,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
bool isDrawingChanged = false;
if ((nint)drawObj != IntPtr.Zero)
{
isDrawing = gameObj->RenderFlags == 0b100000000000;
isDrawing = (ushort)gameObj->RenderFlags == 0b100000000000;
if (!isDrawing)
{
isDrawing = ((CharacterBase*)drawObj)->HasModelInSlotLoaded != 0;
@@ -1047,4 +1047,4 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
onExit();
}
}
}
}