Skip to content

Commit

Permalink
[9683] Drop dead code in 3.x for spell 29801.
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirMangos committed Apr 6, 2010
1 parent 56b372c commit 20ee14b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/game/Unit.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 20ee14b

Please sign in to comment.