From f4d8105064afdf98212320b5bd1569f2af3fa68a Mon Sep 17 00:00:00 2001 From: ccrs Date: Sat, 25 Oct 2025 17:09:37 +0200 Subject: Core/Entities: improve unit on death movement Handle MoveFall spline manually instead on MotionMaster -> prepares and sends movespline just before Set methods -> they "detect" the fall spline and send the necessary DISABLE related packets Signal MotionMaster to not reset-initialize static idle movement with the new MOTIONMASTER_FLAG_STATIC_PREVENT_INITIALIZATION Prevent spline from generating a path, we want a straight line towards the floor --- src/server/game/Movement/MotionMaster.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/server/game/Movement/MotionMaster.cpp') diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index b26d769da59..444847d355d 100644 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -563,8 +563,6 @@ bool MotionMaster::StopOnDeath() MoveIdle(); } - _owner->StopMoving(); - return true; } -- cgit v1.2.3