Changeset 28 for trunk/src/game/Spell.cpp
- Timestamp:
- 11/19/08 13:24:39 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Spell.cpp
r18 r28 987 987 if( !(m_spellInfo->AttributesEx3 & SPELL_ATTR_EX3_NO_INITIAL_AGGRO) ) 988 988 { 989 if(!unit->IsStandState() && !unit->hasUnitState(UNIT_STAT_STUN DED))989 if(!unit->IsStandState() && !unit->hasUnitState(UNIT_STAT_STUNNED)) 990 990 unit->SetStandState(PLAYER_STATE_NONE); 991 991 … … 2408 2408 2409 2409 // check for incapacitating player states 2410 if( m_caster->hasUnitState(UNIT_STAT_STUN DED | UNIT_STAT_CONFUSED))2410 if( m_caster->hasUnitState(UNIT_STAT_STUNNED | UNIT_STAT_CONFUSED)) 2411 2411 cancel(); 2412 2412