diff options
| author | megamage <none@none> | 2008-11-07 09:36:46 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-11-07 09:36:46 -0600 |
| commit | fd3fcb461253bb8d269faa90af877e1e3e8b12a8 (patch) | |
| tree | 8c23861b1fc3b14908d1a22c5f491c1aad9d2d21 /src/game/SpellEffects.cpp | |
| parent | fdff7330d29eee31d6f7849067d1a68441402370 (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.cpp | 2 |
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); } |
