diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index dfa2687c72d..f69c5124cc6 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2280,6 +2280,7 @@ void Spell::SetTargetMap(uint32 i, uint32 cur) // Search for ghoul if our ghoul or dead body not valid unit target if (!(m_targets.getUnitTarget() && (m_targets.getUnitTarget()->GetEntry() == 26125 && m_targets.getUnitTarget()->GetOwnerGUID() == m_caster->GetGUID() || (m_targets.getUnitTarget()->getDeathState() == CORPSE + && m_targets.getUnitTarget()->GetDisplayId() == m_targets.getUnitTarget()->GetNativeDisplayId() && m_targets.getUnitTarget()->GetTypeId()== TYPEID_UNIT && !((Creature*)m_targets.getUnitTarget())->isDeadByDefault() && !(m_targets.getUnitTarget()->GetCreatureTypeMask() & CREATURE_TYPEMASK_MECHANICAL_OR_ELEMENTAL)) |