aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-23 10:22:58 -0500
committermegamage <none@none>2009-08-23 10:22:58 -0500
commit0b06baee4dcbc18534bbfb3becb679ae42103439 (patch)
tree7740eb58fae708062901ae493c48472615f6bd9c /src/game/Unit.cpp
parentd132f7e401ecfc032b33405f6b247807a0754133 (diff)
*Update rules of aura stack.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index aca48c53e01..be24edb329f 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -3865,7 +3865,7 @@ bool Unit::RemoveNoStackAurasDueToAura(Aura *Aur)
if (is_triggered_by_spell)
continue;
- if(!spellmgr.IsNoStackSpellDueToSpell(spellId, i_spellId, sameCaster))
+ if(spellmgr.CanAurasStack(spellProto, i_spellProto, sameCaster))
continue;
//some spells should be not removed by lower rank of them (totem, paladin aura)