mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +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());
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11778"
|
||||
#define REVISION_NR "11779"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue