mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fixed parentheses
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user