From 384ff412bf3beeed9178d65df0cd50add27901bd Mon Sep 17 00:00:00 2001 From: Yehonal Date: Thu, 29 Dec 2016 17:47:22 +0100 Subject: [PATCH] fixed parentheses --- src/game/Loot/LootMgr.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/Loot/LootMgr.cpp b/src/game/Loot/LootMgr.cpp index e72121f4f..3d5d4f73a 100644 --- a/src/game/Loot/LootMgr.cpp +++ b/src/game/Loot/LootMgr.cpp @@ -1331,10 +1331,11 @@ void LootTemplate::Process(Loot& loot, bool rate, uint16 lootMode, Player const* sScriptMgr->OnAfterRefCount(item, maxcount); for (uint32 loop = 0; loop < maxcount; ++loop) // Ref multiplicator Referenced->Process(loot, rate, lootMode, player, item->group); - } - else // Plain entries (not a reference, not grouped) + } else { + // Plain entries (not a reference, not grouped) sScriptMgr->OnBeforeDropAddItem(player, loot, item); loot.AddItem(*item); // Chance is already checked, just add + } } // Now processing groups