[9683] Drop dead code in 3.x for spell 29801.

This commit is contained in:
VladimirMangos 2010-04-07 00:10:47 +04:00
parent 570852e70e
commit ff137bba24

View file

@ -8566,17 +8566,7 @@ void Unit::ModifyAuraState(AuraState flag, bool apply)
{
SpellEntry const* spellProto = (*itr).second->GetSpellProto();
if (spellProto->CasterAuraState == flag)
{
// exceptions (applied at state but not removed at state change)
// Rampage
if(spellProto->SpellIconID==2006 && spellProto->SpellFamilyName==SPELLFAMILY_WARRIOR && spellProto->SpellFamilyFlags==0x100000)
{
++itr;
continue;
}
RemoveAura(itr);
}
else
++itr;
}