diff options
Diffstat (limited to 'src/server/game/Loot/Loot.h')
-rw-r--r-- | src/server/game/Loot/Loot.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/game/Loot/Loot.h b/src/server/game/Loot/Loot.h index 4e1cf545462..dcd9978088f 100644 --- a/src/server/game/Loot/Loot.h +++ b/src/server/game/Loot/Loot.h @@ -133,7 +133,6 @@ enum LootSlotType struct TC_GAME_API LootItem { uint32 itemid; - uint32 randomSuffix; ItemRandomEnchantmentId randomPropertyId; int32 upgradeId; std::vector<int32> BonusListIDs; @@ -156,7 +155,7 @@ struct TC_GAME_API LootItem explicit LootItem(LootStoreItem const& li); // Empty constructor for creating an empty LootItem to be filled in with DB data - LootItem() : itemid(0), randomSuffix(0), randomPropertyId(), upgradeId(0), context(0), count(0), is_looted(false), is_blocked(false), + LootItem() : itemid(0), randomPropertyId(), upgradeId(0), context(0), count(0), is_looted(false), is_blocked(false), freeforall(false), is_underthreshold(false), is_counted(false), needs_quest(false), follow_loot_rules(false), canSave(true){ }; @@ -262,7 +261,7 @@ struct TC_GAME_API Loot LootItem* LootItemInSlot(uint32 lootslot, Player* player, NotNormalLootItem** qitem = NULL, NotNormalLootItem** ffaitem = NULL, NotNormalLootItem** conditem = NULL); uint32 GetMaxSlotInLootFor(Player* player) const; bool hasItemForAll() const; - bool hasItemFor(Player* player) const; + bool hasItemFor(Player const* player) const; bool hasOverThresholdItem() const; // Builds data for SMSG_LOOT_RESPONSE |