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

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-08 12:31:29 -05:00
parent 58dc6e180b
commit b78d7a01b4

View File

@@ -3800,6 +3800,7 @@ bool Unit::AddAura(Aura *Aur, bool handleEffects)
// 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;