Core/Spells: remove some workarounds about transform spells in corpse explosion script.
This commit is contained in:
@@ -12704,14 +12704,6 @@ void Unit::setDeathState(DeathState s)
|
||||
}
|
||||
else if (s == JUST_ALIVED)
|
||||
RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE); // clear skinnable for creature and player (at battleground)
|
||||
|
||||
if (oldDeathState != ALIVE && s == ALIVE)
|
||||
{
|
||||
// Reset display id on resurection - needed by corpse explosion to cleanup after display change
|
||||
// TODO: fix this
|
||||
if (!HasAuraType(SPELL_AURA_TRANSFORM))
|
||||
SetDisplayId(GetNativeDisplayId());
|
||||
}
|
||||
}
|
||||
|
||||
/*########################################
|
||||
|
||||
Reference in New Issue
Block a user