[12700] Stop movement of dead npcs (original author @Schmoozerd)

This commit is contained in:
sanctum32 2013-10-21 09:02:34 +03:00 committed by Antz
parent 09b06fc780
commit 9b3c263b27
2 changed files with 2 additions and 2 deletions

View file

@ -9111,9 +9111,9 @@ void Unit::SetDeathState(DeathState s)
RemoveMiniPet();
UnsummonAllTotems();
StopMoving();
i_motionMaster.Clear(false, true);
i_motionMaster.MoveIdle();
StopMoving();
// Unsummon vehicle accessories
if (IsVehicle())