mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-23 08:59:17 +01:00
Use vfunc call instead of hook
This commit is contained in:
parent
692113958b
commit
f1c8201f1b
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ public sealed unsafe class DtrBar : IDisposable, IServiceType, IDtrBar
|
||||||
addon->SetX((short)(addon->GetX() - sizeDelta));
|
addon->SetX((short)(addon->GetX() - sizeDelta));
|
||||||
|
|
||||||
// force a RequestedUpdate immediately to force the game to right-justify it immediately.
|
// force a RequestedUpdate immediately to force the game to right-justify it immediately.
|
||||||
this.onAddonRequestedUpdateHook.Original(addon, AtkStage.GetSingleton()->GetNumberArrayData(), AtkStage.GetSingleton()->GetStringArrayData());
|
addon->OnUpdate(AtkStage.GetSingleton()->GetNumberArrayData(), AtkStage.GetSingleton()->GetStringArrayData());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue