aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRamusik <nikson.91@mail.ru>2011-04-10 08:46:47 +0300
committerRamusik <nikson.91@mail.ru>2011-04-10 08:46:47 +0300
commit5908b2af477c6ffb5fc37829bb05b8a80942831b (patch)
tree37fc4c55e9161b7349f0f32a7d9181014a6e39d2 /src
parent6ee47ad22ff56104983e97afc167795472888914 (diff)
Fixed Starfall: root effect shouldn't supress the starfall effect
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index 10edae93467..565e1d2d4bd 100755
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -1364,7 +1364,7 @@ void Spell::EffectDummy(SpellEffIndex effIndex)
}
//Any effect which causes you to lose control of your character will supress the starfall effect.
- if (m_caster->HasUnitState(UNIT_STAT_STUNNED | UNIT_STAT_FLEEING | UNIT_STAT_ROOT | UNIT_STAT_CONFUSED))
+ if (m_caster->HasUnitState(UNIT_STAT_CONTROLLED))
return;
m_caster->CastSpell(unitTarget, damage, true);