aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 2808b6fdbaf..0e0f127a127 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1025,9 +1025,8 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
if(!m_IsTriggeredSpell && !m_CastItem
&& NeedsComboPoints(m_spellInfo)
&& m_caster->GetTypeId()==TYPEID_PLAYER
- && target->targetGUID==m_targets.getUnitTargetGUID()
- && missInfo!= SPELL_MISS_NONE
- && missInfo != SPELL_MISS_MISS)
+ && target->targetGUID == m_targets.getUnitTargetGUID()
+ && (missInfo == SPELL_MISS_NONE || missInfo == SPELL_MISS_MISS))
((Player*)m_caster)->ClearComboPoints();
// Call scripted function for AI if this spell is casted upon a creature (except pets)