From 6daba66baf70d45e3b8ce681f588e4e9349d63ab Mon Sep 17 00:00:00 2001 From: jackpoz Date: Tue, 30 Sep 2014 20:58:50 +0200 Subject: Core/LootMgr: Fix GCC warning --- src/server/game/Loot/LootMgr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/game/Loot/LootMgr.h b/src/server/game/Loot/LootMgr.h index f404a553632..1685996fd03 100644 --- a/src/server/game/Loot/LootMgr.h +++ b/src/server/game/Loot/LootMgr.h @@ -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) -- cgit v1.2.3