From fd3fcb461253bb8d269faa90af877e1e3e8b12a8 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 7 Nov 2008 09:36:46 -0600 Subject: [svn] Remove isVisible function. Check stealth and invisible in canAttack(); Use new remove aura by interrupt flag function. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/SpellEffects.cpp') 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); } -- cgit v1.2.3