aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-22 23:30:17 +0200
committerQAston <none@none>2009-06-22 23:30:17 +0200
commite6d20d57deba02dbbce70ccb03bf6cd3a393a016 (patch)
tree159d555d90476d97bc08ee0367c88332f414095c /src/game/Unit.cpp
parent8533946ac1b6548d21492b3f1ec41b60a73a5bd2 (diff)
*Fix Death Pact and Corpse Explosion - original patch by Astellar, thanks for help in conversion for Azrael.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index e107eb90f55..096f55a294b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -11089,6 +11089,8 @@ void Unit::setDeathState(DeathState s)
if (m_deathState != ALIVE && s == ALIVE)
{
//_ApplyAllAuraMods();
+ // Reset display id on resurection - needed by corpse explosion to cleanup after display change
+ SetDisplayId(GetNativeDisplayId());
}
m_deathState = s;
}