Fix build

This commit is contained in:
hondacrx
2022-05-29 16:08:55 -04:00
parent 60ab157ba1
commit 25102a2ee1
3 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ namespace Game.Loots
LootItem generatedLoot = new(item);
generatedLoot.context = _itemContext;
generatedLoot.count = (byte)Math.Min(count, proto.GetMaxStackSize());
generatedLoot.itemIndex = lootItems.Count;
generatedLoot.itemIndex = (uint)lootItems.Count;
if (_itemContext != 0)
{
List<uint> bonusListIDs = Global.DB2Mgr.GetDefaultItemBonusTree(generatedLoot.itemid, _itemContext);