diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 6e22aae29..3c49a25e9 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1210,7 +1210,8 @@ bool Spell::IsAliveUnitPresentInTargetList() { Unit *unit = m_caster->GetGUID() == ihit->targetGUID ? m_caster : ObjectAccessor::GetUnit(*m_caster, ihit->targetGUID); - if (unit && (unit->isAlive() ^ IsDeathOnlySpell(m_spellInfo))) + // either unit is alive and normal spell, or unit dead and deathonly-spell + if (unit && (unit->isAlive() != IsDeathOnlySpell(m_spellInfo))) needAliveTargetMask &= ~ihit->effectMask; // remove from need alive mask effect that have alive target } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index df06779aa..e4f7238a3 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8568" + #define REVISION_NR "8569" #endif // __REVISION_NR_H__