aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-22 23:55:00 +0200
committerMachiavelli <none@none>2009-06-22 23:55:00 +0200
commitd1d26524d2889285d11cebf52b07da34906eb81d (patch)
treed05217fb0ca3ded11e1c9dabf2056a92edea78ae /src/game/Unit.cpp
parent2ce88f44aa47757b542d23e1f97101227073fcfd (diff)
parente6d20d57deba02dbbce70ccb03bf6cd3a393a016 (diff)
*merge
--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;
}