diff options
author | maximius <none@none> | 2009-11-04 19:14:10 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-04 19:14:10 -0800 |
commit | c15a8e201bab900e29cbc260e17451808e3dc897 (patch) | |
tree | 56da6033b88d866dd7c0da2325f2428dbd402e53 /src/game/LootMgr.h | |
parent | 6aba32bd2bf506cb61d775c52895d389a0997385 (diff) |
*Never add the same loot item twice.
--HG--
branch : trunk
Diffstat (limited to 'src/game/LootMgr.h')
-rw-r--r-- | src/game/LootMgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/LootMgr.h b/src/game/LootMgr.h index 5758242368e..2bb2b15f99b 100644 --- a/src/game/LootMgr.h +++ b/src/game/LootMgr.h @@ -137,6 +137,7 @@ struct Loot; class LootTemplate; typedef std::vector<QuestItem> QuestItemList; +typedef std::vector<LootItem> LootItemList; typedef std::map<uint32, QuestItemList *> QuestItemMap; typedef std::vector<LootStoreItem> LootStoreItemList; typedef UNORDERED_MAP<uint32, LootTemplate*> LootTemplateMap; @@ -153,7 +154,7 @@ class LootStore void Verify() const; void LoadAndCollectLootIds(LootIdSet& ids_set); - void CheckLootRefs(LootIdSet* ref_set = NULL) const;// check existence reference and remove it from ref_set + void CheckLootRefs(LootIdSet* ref_set = NULL) const; // check existence reference and remove it from ref_set void ReportUnusedIds(LootIdSet const& ids_set) const; void ReportNotExistedId(uint32 id) const; |