Fix renderflags offset for redrawing.

This commit is contained in:
Ottermandias 2023-01-11 12:38:59 +01:00
parent 9ccbe10642
commit e00cb6cc6a

View file

@ -117,7 +117,7 @@ public sealed unsafe partial class ObjectReloader : IDisposable
=> Dalamud.Framework.Update -= OnUpdateEvent;
public static DrawState* ActorDrawState( GameObject actor )
=> ( DrawState* )( actor.Address + 0x0104 );
=> ( DrawState* )( &( ( FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject* )actor.Address )->RenderFlags );
private static int ObjectTableIndex( GameObject actor )
=> ( ( FFXIVClientStructs.FFXIV.Client.Game.Object.GameObject* )actor.Address )->ObjectIndex;