diff options
| author | ccrs <ccrs@users.noreply.github.com> | 2025-10-25 17:09:37 +0200 |
|---|---|---|
| committer | ccrs <ccrs@users.noreply.github.com> | 2025-10-25 17:09:37 +0200 |
| commit | f4d8105064afdf98212320b5bd1569f2af3fa68a (patch) | |
| tree | c3eaf88ec42ee6ddcdc3bae86b26ced6708f7724 /src/server/game/Movement/MotionMaster.cpp | |
| parent | 736add62678b5e04399421ee6ebcdaa2c7447712 (diff) | |
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
Diffstat (limited to 'src/server/game/Movement/MotionMaster.cpp')
| -rw-r--r-- | src/server/game/Movement/MotionMaster.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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; } |
