aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
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;
}