mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix: fly text atk arrays + offsets (#1523)
This commit is contained in:
parent
c03d6ff048
commit
4e1e9a0fce
1 changed files with 4 additions and 4 deletions
|
|
@ -86,9 +86,9 @@ internal sealed class FlyTextGui : IDisposable, IServiceType, IFlyTextGui
|
||||||
public unsafe void AddFlyText(FlyTextKind kind, uint actorIndex, uint val1, uint val2, SeString text1, SeString text2, uint color, uint icon, uint damageTypeIcon)
|
public unsafe void AddFlyText(FlyTextKind kind, uint actorIndex, uint val1, uint val2, SeString text1, SeString text2, uint color, uint icon, uint damageTypeIcon)
|
||||||
{
|
{
|
||||||
// Known valid flytext region within the atk arrays
|
// Known valid flytext region within the atk arrays
|
||||||
var numIndex = 28;
|
var numIndex = 30;
|
||||||
var strIndex = 25;
|
var strIndex = 27;
|
||||||
var numOffset = 147u;
|
var numOffset = 161u;
|
||||||
var strOffset = 28u;
|
var strOffset = 28u;
|
||||||
|
|
||||||
// Get the UI module and flytext addon pointers
|
// Get the UI module and flytext addon pointers
|
||||||
|
|
@ -132,7 +132,7 @@ internal sealed class FlyTextGui : IDisposable, IServiceType, IFlyTextGui
|
||||||
1,
|
1,
|
||||||
(IntPtr)numArray,
|
(IntPtr)numArray,
|
||||||
numOffset,
|
numOffset,
|
||||||
9,
|
10,
|
||||||
(IntPtr)strArray,
|
(IntPtr)strArray,
|
||||||
strOffset,
|
strOffset,
|
||||||
2,
|
2,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue