Changeset 217 for trunk

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

[svn] Fix a typo. This solve the bug that sap and other spells cannot be removed by damage.
The original author of AURA_INTERRUPT_FLAG_UNATTACKABLE is kamir86. Sorry for not mentioning that in rev 221.

Original author: megamage
Date: 2008-11-12 09:28:38-06:00

Files:
1 modified

Legend:

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

    r213 r217  
    932932            } 
    933933            else */ 
    934         RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_DAMAGE); 
     934        pVictim->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_DAMAGE); 
    935935        pVictim->RemoveSpellbyDamageTaken(damage, spellProto ? spellProto->Id : 0); 
    936936