aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorNeo2003 <none@none>2008-10-09 08:42:22 -0500
committerNeo2003 <none@none>2008-10-09 08:42:22 -0500
commitf736567a374e718574763f545b9cdea5d97d9ce0 (patch)
tree5b0a617c7ef4e5c6bd4aa1df6a9c7afe31757a46 /src/game/Spell.cpp
parente3079a1ba63ebe13a19e85db3f4e1e1a392a04ed (diff)
[svn] * Updated to 6743 and 685
Moved language id used by Arena to a higher place to solve conflicts Added the empty script folders --HG-- branch : trunk rename : 6731-680 => 6743-685
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 3be0b6989b2..ba5b5d97b47 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -986,7 +986,7 @@ void Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask)
if( !(m_spellInfo->AttributesEx3 & SPELL_ATTR_EX3_NO_INITIAL_AGGRO) )
{
- if(!unit->IsStandState() && !unit->hasUnitState(UNIT_STAT_STUNDED))
+ if(!unit->IsStandState() && !unit->hasUnitState(UNIT_STAT_STUNNED))
unit->SetStandState(PLAYER_STATE_NONE);
if(!unit->isInCombat() && unit->GetTypeId() != TYPEID_PLAYER && ((Creature*)unit)->AI())
@@ -2407,7 +2407,7 @@ void Spell::update(uint32 difftime)
cancel();
// check for incapacitating player states
- if( m_caster->hasUnitState(UNIT_STAT_STUNDED | UNIT_STAT_CONFUSED))
+ if( m_caster->hasUnitState(UNIT_STAT_STUNNED | UNIT_STAT_CONFUSED))
cancel();
// check if player has turned if flag is set