feat: Adds item graphic size to Bounds.bin and makes item graphic offset available to gumps (#2115)

This commit is contained in:
Kamron Batman 2025-02-10 19:31:39 -08:00 committed by GitHub
parent 772511d1e8
commit 40479c946a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 96 additions and 50 deletions

View file

@ -187,7 +187,7 @@ namespace Server.Gumps
Console.WriteLine("Type {0} does not have a valid item id or shrink table entry.", obj.Type);
}
var bounds = ItemBounds.Table[itemID];
var bounds = ItemBounds.Bounds[itemID];
if (itemID != 1 && bounds.Height < EntryHeight * 2)
{