mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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();
|
||||
UnsummonAllTotems();
|
||||
|
||||
StopMoving();
|
||||
i_motionMaster.Clear(false, true);
|
||||
i_motionMaster.MoveIdle();
|
||||
StopMoving();
|
||||
|
||||
// Unsummon vehicle accessories
|
||||
if (IsVehicle())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue