diff options
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 8629c544b28..f3a79fdb96f 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5737,13 +5737,13 @@ void Spell::EffectAddComboPoints(uint32 /*i*/) if(!unitTarget) return; - if(m_caster->GetTypeId() != TYPEID_PLAYER) + if(!m_caster->m_movedPlayer) return; if(damage <= 0) return; - ((Player*)m_caster)->AddComboPoints(unitTarget, damage, this); + m_caster->m_movedPlayer->AddComboPoints(unitTarget, damage, this); } void Spell::EffectDuel(uint32 i) |