mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[11779] Fixed resurrection for released ghost case.
This commit is contained in:
parent
83079e0b81
commit
50e7fbbf5e
2 changed files with 2 additions and 2 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue