[11779] Fixed resurrection for released ghost case.

This commit is contained in:
VladimirMangos 2011-08-12 18:47:00 +04:00
parent 83079e0b81
commit 50e7fbbf5e
2 changed files with 2 additions and 2 deletions

View file

@ -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());

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11778"
#define REVISION_NR "11779"
#endif // __REVISION_NR_H__