Core/Unit: Fix respawning after ForceDespawn is called.
This commit is contained in:
@@ -12726,6 +12726,7 @@ void Unit::setDeathState(DeathState s)
|
||||
GetMotionMaster()->Clear(false);
|
||||
GetMotionMaster()->MoveIdle();
|
||||
StopMoving();
|
||||
DisableSpline();
|
||||
// without this when removing IncreaseMaxHealth aura player may stuck with 1 hp
|
||||
// do not why since in IncreaseMaxHealth currenthealth is checked
|
||||
SetHealth(0);
|
||||
|
||||
Reference in New Issue
Block a user