mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +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)
|
||||
{
|
||||
// Known valid flytext region within the atk arrays
|
||||
var numIndex = 28;
|
||||
var strIndex = 25;
|
||||
var numOffset = 147u;
|
||||
var numIndex = 30;
|
||||
var strIndex = 27;
|
||||
var numOffset = 161u;
|
||||
var strOffset = 28u;
|
||||
|
||||
// Get the UI module and flytext addon pointers
|
||||
|
|
@ -132,7 +132,7 @@ internal sealed class FlyTextGui : IDisposable, IServiceType, IFlyTextGui
|
|||
1,
|
||||
(IntPtr)numArray,
|
||||
numOffset,
|
||||
9,
|
||||
10,
|
||||
(IntPtr)strArray,
|
||||
strOffset,
|
||||
2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue