aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-13 13:05:58 -0500
committermegamage <none@none>2009-06-13 13:05:58 -0500
commitd55cc087ee0ca06569ad07d8228369188c5bd94e (patch)
tree4abdd9016a0f533fcba896781a07ac022a52d6ca /src/game/Unit.cpp
parent73d89807175cbb63c2c000633cdebca572796efc (diff)
*Change remove mode from stack to default for single-caster-aura-removal and non-stackable-aura-removal.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 313a6f2adaa..703201c59d9 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -3900,7 +3900,7 @@ bool Unit::AddAura(Aura *Aur, bool handleEffects)
if( (*itr)->GetTarget() != Aur->GetTarget() &&
IsSingleTargetSpells((*itr)->GetSpellProto(),aurSpellInfo) )
{
- (*itr)->GetTarget()->RemoveAurasDueToSpell((*itr)->GetId(), caster->GetGUID(), AURA_REMOVE_BY_STACK);
+ (*itr)->GetTarget()->RemoveAurasDueToSpell((*itr)->GetId(), caster->GetGUID(), AURA_REMOVE_BY_DEFAULT);
restart = true;
break;
}
@@ -4010,7 +4010,7 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur)
return false;
// Remove all auras by aura caster
- RemoveAura(i, AURA_REMOVE_BY_STACK);
+ RemoveAura(i, AURA_REMOVE_BY_DEFAULT);
if(i == m_Auras.end())
break;
remove = true;