aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorclick <none@none>2010-05-10 13:27:18 +0200
committerclick <none@none>2010-05-10 13:27:18 +0200
commitd79f6295aa461833db9996d375cf0cebead654d9 (patch)
treeb5c32c7bc0ff2bf254942836fe3b0c1f311cb2c7 /src/game/Spell.cpp
parent5b20d478ffa556941735cfe7ef2d377600c75732 (diff)
Add support for NPC-based start of playing moviesequence + clean up indenting on earlier commit
--HG-- branch : trunk
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 8fb32339522..e551827459d 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -5199,8 +5199,8 @@ SpellCastResult Spell::CheckCast(bool strict)
if (m_spellInfo->Id == 781)
if (!m_caster->isInCombat())
return SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW;
- if (m_caster->hasUnitState(UNIT_STAT_ROOT))
- return SPELL_FAILED_ROOTED;
+ if (m_caster->hasUnitState(UNIT_STAT_ROOT))
+ return SPELL_FAILED_ROOTED;
break;
}
default:break;