mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[12700] Stop movement of dead npcs (original author @Schmoozerd)
This commit is contained in:
parent
09b06fc780
commit
9b3c263b27
2 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue