Show
Ignore:
Timestamp:
11/19/08 13:44:25 (17 years ago)
Author:
yumileroy
Message:

[svn] Remove isVisible function. Check stealth and invisible in canAttack();
Use new remove aura by interrupt flag function.

Original author: megamage
Date: 2008-11-07 09:36:46-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellEffects.cpp

    r180 r186  
    34783478        { 
    34793479            // Reveal action + get attack 
    3480             m_caster->RemoveInterruptableAura(AURA_INTERRUPT_FLAG_STEALTH); 
     3480            m_caster->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_STEALTH); 
    34813481            if (((Creature*)unitTarget)->AI()) 
    34823482                ((Creature*)unitTarget)->AI()->AttackStart(m_caster);