Core/Unit: Erm, so it turns out that releasing your spirit actually never set your death state to DEAD. It stayed as CORPSE. That's wrong, of course, but we didn't notice because zombie corpses.
Port From (https://github.com/TrinityCore/TrinityCore/commit/fdb3f4159e5e7865429e5b7212fba1ef602e6839)
This commit is contained in:
@@ -899,7 +899,7 @@ namespace Game
|
||||
});
|
||||
|
||||
// setting Ghost+speed if dead
|
||||
if (pCurrChar.GetDeathState() != DeathState.Alive)
|
||||
if (pCurrChar.GetDeathState() == DeathState.Dead)
|
||||
{
|
||||
// not blizz like, we must correctly save and load player instead...
|
||||
if (pCurrChar.GetRace() == Race.NightElf && !pCurrChar.HasAura(20584))
|
||||
|
||||
Reference in New Issue
Block a user