diff options
-rw-r--r-- | src/server/game/Loot/Loot.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/game/Loot/Loot.cpp b/src/server/game/Loot/Loot.cpp index 4ec7b9b484e..e4784f37650 100644 --- a/src/server/game/Loot/Loot.cpp +++ b/src/server/game/Loot/Loot.cpp @@ -36,8 +36,9 @@ // Constructor, copies most fields from LootStoreItem and generates random count LootItem::LootItem(LootStoreItem const& li) { - itemid = li.itemid; - conditions = li.conditions; + itemid = li.itemid; + itemIndex = 0; + conditions = li.conditions; ItemTemplate const* proto = sObjectMgr->GetItemTemplate(itemid); freeforall = proto && proto->HasFlag(ITEM_FLAG_MULTI_DROP); |