From b76c2c144d0a93150fa312f6e622871ce018c408 Mon Sep 17 00:00:00 2001 From: w1sht0l1v3 Date: Sat, 17 Mar 2012 18:26:22 +0200 Subject: Core/Unit: Fix respawning after ForceDespawn is called. --- src/server/game/Entities/Unit/Unit.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 1bf8334ae79..478db7d1374 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -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); -- cgit v1.2.3