aboutsummaryrefslogtreecommitdiff
path: root/src/game/LootMgr.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-28 17:50:33 -0700
committermaximius <none@none>2009-10-28 17:50:33 -0700
commit98e546a8045049f6327c29cdccba6027f29b8a40 (patch)
tree8a9c72a8ed90bb434948d6d16c97eb29b9330d84 /src/game/LootMgr.h
parentcfd98ebe1e20c468245d0004ff431a58c2f696dc (diff)
*Minor cleanup.
--HG-- branch : trunk
Diffstat (limited to 'src/game/LootMgr.h')
-rw-r--r--src/game/LootMgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/LootMgr.h b/src/game/LootMgr.h
index be20c57ec9a..7bad72a20c0 100644
--- a/src/game/LootMgr.h
+++ b/src/game/LootMgr.h
@@ -80,8 +80,8 @@ struct LootStoreItem
uint32 itemid; // id of the item
float chance; // always positive, chance to drop for both quest and non-quest items, chance to be used for refs
int32 mincountOrRef; // mincount for drop items (positive) or minus referenced TemplateleId (negative)
- uint8 group :7;
uint16 lootmode;
+ uint8 group :7;
bool needs_quest :1; // quest drop (negative ChanceOrQuestChance in DB)
uint8 maxcount :8; // max drop count for the item (mincountOrRef positive) or Ref multiplicator (mincountOrRef negative)
uint16 conditionId :16; // additional loot condition Id
@@ -187,7 +187,7 @@ class LootTemplate
void Process(Loot& loot, LootStore const& store, bool rate, uint16 lootMode, uint8 groupId = 0) const;
// True if template includes at least 1 quest drop entry
- bool HasQuestDrop(LootTemplateMap const& store, uint8 GroupId = 0) const;
+ bool HasQuestDrop(LootTemplateMap const& store, uint8 groupId = 0) const;
// True if template includes at least 1 quest drop for an active quest of the player
bool HasQuestDropForPlayer(LootTemplateMap const& store, Player const * player, uint8 groupId = 0) const;