[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(); RemoveMiniPet();
UnsummonAllTotems(); UnsummonAllTotems();
StopMoving();
i_motionMaster.Clear(false, true); i_motionMaster.Clear(false, true);
i_motionMaster.MoveIdle(); i_motionMaster.MoveIdle();
StopMoving();
// Unsummon vehicle accessories // Unsummon vehicle accessories
if (IsVehicle()) if (IsVehicle())

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "12699" #define REVISION_NR "12700"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__