diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index adfbd9755..722e11264 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -6823,7 +6823,7 @@ bool Spell::CheckTarget( Unit* target, SpellEffectIndex eff ) // player far away, maybe his corpse near? if(target != m_caster && !target->IsWithinLOSInMap(m_caster)) { - if (m_targets.getCorpseTargetGuid()) + if (!m_targets.getCorpseTargetGuid()) return false; Corpse *corpse = m_caster->GetMap()->GetCorpse(m_targets.getCorpseTargetGuid()); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4aff30939..902cda584 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 "11778" + #define REVISION_NR "11779" #endif // __REVISION_NR_H__