mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
Merge pull request #702 from goatcorp/fatefix
This commit is contained in:
commit
87aaab87a9
1 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ namespace Dalamud.Game.ClientState.Fates
|
|||
if (Struct->Fates.First == null || Struct->Fates.Last == null)
|
||||
return 0;
|
||||
|
||||
return (int)Struct->Fates.Capacity();
|
||||
return (int)Struct->Fates.Size();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -99,7 +99,7 @@ namespace Dalamud.Game.ClientState.Fates
|
|||
if (fateTable == IntPtr.Zero)
|
||||
return IntPtr.Zero;
|
||||
|
||||
return *(IntPtr*)this.Struct->Fates.Get((ulong)index).Value;
|
||||
return (IntPtr)this.Struct->Fates.Get((ulong)index).Value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue