Core/Spell: fix SendSpellMiss requiring caster Unit
This commit is contained in:
1 parent
c889b81f2c
commit
b3c8d78fa2
5 files changed
+16
-16
No files matched your search
@@ -2450,7 +2450,7 @@ void Spell::TargetInfo::PreprocessTarget(Spell* spell)
|
||||
if (missInfo != SPELL_MISS_NONE)
|
||||
{
|
||||
if (missInfo != SPELL_MISS_MISS)
|
||||
spell->m_caster->ToUnit()->SendSpellMiss(unit, spell->m_spellInfo->Id, missInfo);
|
||||
spell->m_caster->SendSpellMiss(unit, spell->m_spellInfo->Id, missInfo);
|
||||
spell->m_damage = 0;
|
||||
spell->m_healing = 0;
|
||||
_spellHitTarget = nullptr;
|
||||
|
||||
Reference in new issue
Block a user