Core/Auras: Do not recheck aura positivity every aura effect apply/remove.

This commit is contained in:
QAston
2010-12-31 12:50:17 +01:00
parent 6c56f9e1b7
commit bb4bd46d21
4 changed files with 20 additions and 24 deletions
+1 -1
View File
@@ -3428,7 +3428,7 @@ bool Unit::_IsNoStackAuraDueToAura(Aura * appliedAura, Aura * existingAura) cons
return true;
}
void Unit::_HandleAuraEffect(AuraEffect * aurEff, bool apply)
void Unit::_RegisterAuraEffect(AuraEffect * aurEff, bool apply)
{
if (apply)
m_modAuras[aurEff->GetAuraType()].push_back(aurEff);