aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-08 12:31:29 -0500
committermegamage <none@none>2009-08-08 12:31:29 -0500
commitb78d7a01b448209fdd273dbaba87a333aa770f47 (patch)
tree5174c2e4f3d2d68655f08003820f4fb884f222ce /src
parent58dc6e180bf88cc62a4bdff403b54c2cf9eba995 (diff)
[8325] Restore BG spirit guids work after [8308]-1. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 573dd702dd0..cd36609030c 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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;