Core/Misc: Fix Clang 10 build warnings

(cherry picked from commit 48c5c0d7a2424df73343df127d415ee18eb84296)
This commit is contained in:
jackpoz authored and funjoker committed 2020-06-11 20:49:30 +02:00
1 parent a70b9d3be8
commit 3f56ea8ba4
1 file changed
+1 -3
+1 -3
View File
@@ -3667,9 +3667,7 @@ void Unit::_UnapplyAura(AuraApplicationMap::iterator &i, AuraRemoveFlags removeM
if (sConditionMgr->IsSpellUsedInSpellClickConditions(aurApp->GetBase()->GetId()))
player->UpdateVisibleGameobjectsOrSpellClicks();
// only way correctly remove all auras from list
//if (removedAuras != m_removedAurasCount) new aura may be added
i = m_appliedAuras.begin();
i = m_appliedAuras.begin();
}
void Unit::_UnapplyAura(AuraApplication * aurApp, AuraRemoveFlags removeMode)