- Fix native tooltip offset

- Improve tooltip clipping handling
This commit is contained in:
Infi
2025-03-27 17:17:53 +01:00
parent bc78f65b50
commit fb89666f8d
4 changed files with 50 additions and 3 deletions
+5 -2
View File
@@ -124,8 +124,11 @@ internal unsafe class GameFunctions : IDisposable
agent->Index = 0;
agent->Flag1 &= 0xEF;
agent->ItemId = id;
agent->Flag2 = 1;
agent->Flag3 = 0;
// agent->Flag2 = 1;
// agent->Flag3 = 0;
// TODO: Revert whenever CS is merged
*(byte*)((nint)agent + 0x21A) = 1;
*(byte*)((nint)agent + 0x21E) = 0;
// This just probably needs to be set
agent->AddonId = addon->Id;