aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <none@none>2010-09-08 11:22:51 +0200
committerShauren <none@none>2010-09-08 11:22:51 +0200
commit5c13a08d87b7de7b0daea0656deb84cf2107b15f (patch)
treeec2a4c7d402910f660b915e566cac6e9e597ada4 /src
parente5d612d33962ad2c5dc21f85a8abe77d6a63db12 (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.cpp2
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