diff options
author | Shauren <none@none> | 2010-09-08 11:22:51 +0200 |
---|---|---|
committer | Shauren <none@none> | 2010-09-08 11:22:51 +0200 |
commit | 5c13a08d87b7de7b0daea0656deb84cf2107b15f (patch) | |
tree | ec2a4c7d402910f660b915e566cac6e9e597ada4 /src | |
parent | e5d612d33962ad2c5dc21f85a8abe77d6a63db12 (diff) |
Core/Spells: Fixed The Art of War procing only on melee attacks, by tassader1000
Core/Spells: Added missing change in previous revision
Closes issue #2386.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index de027769740..fa38c250cee 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5736,7 +5736,7 @@ SpellCastResult Spell::CheckCast(bool strict) // check if caster has at least 1 combo point for spells that require combo points if (m_needComboPoints) if (Player* plrCaster = m_caster->ToPlayer()) - if (!m_caster->ToPlayer()->GetComboPoints()) + if (!plrCaster->GetComboPoints()) return SPELL_FAILED_NO_COMBO_POINTS; // don't allow channeled spells / spells with cast time to be casted while moving |