[8325] Restore BG spirit guids work after [8308]-1.

This commit is contained in:
VladimirMangos 2009-08-06 20:06:08 +04:00
parent c722ac9e70
commit bb2aca5217
2 changed files with 2 additions and 1 deletions

View file

@ -3410,6 +3410,7 @@ bool Unit::AddAura(Aura *Aur)
// ghost spell check, allow apply any auras at player loading in ghost mode (will be cleanup after load)
if( !isAlive() && !IsDeathPersistentSpell(aurSpellInfo) &&
Aur->GetId() != 2584 && // Waiting to Resurrect (not have death persistence flag)
(GetTypeId()!=TYPEID_PLAYER || !((Player*)this)->GetSession()->PlayerLoading()) )
{
delete Aur;