diff --git a/src/game/WorldHandlers/Spell.cpp b/src/game/WorldHandlers/Spell.cpp index 70664b1e40..8f987926b5 100644 --- a/src/game/WorldHandlers/Spell.cpp +++ b/src/game/WorldHandlers/Spell.cpp @@ -6134,7 +6134,7 @@ SpellCastResult Spell::CheckPetCast(Unit* target) Unit* _target = m_targets.getUnitTarget(); - if (_target) // for target dead/target not valid + if (_target && m_targets.m_targetMask & TARGET_FLAG_UNIT) // for target dead/target not valid { if (IsPositiveSpell(m_spellInfo->Id)) {