mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/LootMgr: Fix GCC warning
This commit is contained in:
@@ -137,8 +137,8 @@ struct LootStoreItem
|
||||
// Constructor
|
||||
// displayid is filled in IsValid() which must be called after
|
||||
LootStoreItem(uint32 _itemid, uint32 _reference, float _chance, bool _needs_quest, uint16 _lootmode, uint8 _groupid, int32 _mincount, uint8 _maxcount)
|
||||
: itemid(_itemid), reference(_reference), chance(_chance), needs_quest(_needs_quest),
|
||||
lootmode(_lootmode), groupid(_groupid), mincount(_mincount), maxcount(_maxcount)
|
||||
: itemid(_itemid), reference(_reference), chance(_chance), lootmode(_lootmode),
|
||||
needs_quest(_needs_quest), groupid(_groupid), mincount(_mincount), maxcount(_maxcount)
|
||||
{ }
|
||||
|
||||
bool Roll(bool rate) const; // Checks if the entry takes it's chance (at loot generation)
|
||||
|
||||
Reference in New Issue
Block a user