fixed a warning

This commit is contained in:
Ovahlord committed 2021-05-23 13:49:54 +02:00
1 parent 47d984d538
commit 1325c8cb97
1 file changed
-2
-2
View File
@@ -6742,8 +6742,6 @@ float Unit::SpellDamagePctDone(Unit* victim, SpellInfo const* spellProto, Damage
// EFFECT_0 contains the bonus amount per application, EFFECT_1 contains the maximum bonus amount
int32 bonusPerApplication = CalculateSpellDamage(this, (*i)->GetSpellInfo(), EFFECT_0);
int32 pctBonus = 0;
AuraApplicationMap const& victimAuras = victim->GetAppliedAuras();
for (auto const& itr : victim->GetAppliedAuras())
{
Aura const* aura = itr.second->GetBase();