aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-07 09:36:46 -0600
committermegamage <none@none>2008-11-07 09:36:46 -0600
commitfd3fcb461253bb8d269faa90af877e1e3e8b12a8 (patch)
tree8c23861b1fc3b14908d1a22c5f491c1aad9d2d21 /src/game/SpellEffects.cpp
parentfdff7330d29eee31d6f7849067d1a68441402370 (diff)
[svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index e1f80bdcc58..01fcbd87d45 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -3477,7 +3477,7 @@ void Spell::EffectPickPocket(uint32 /*i*/)
else
{
// Reveal action + get attack
- m_caster->RemoveInterruptableAura(AURA_INTERRUPT_FLAG_STEALTH);
+ m_caster->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_STEALTH);
if (((Creature*)unitTarget)->AI())
((Creature*)unitTarget)->AI()->AttackStart(m_caster);
}