Skip to content
Permalink
Browse files

Core/Movement: Don't set falling flag on root

  • Loading branch information...
AbraKabastard committed May 13, 2019
1 parent d04c41a commit 47fa3708b58e2f51da9c6fd89e36f194900a1cae
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/game/MotionMaster.cpp
@@ -325,6 +325,9 @@ void MotionMaster::MoveFall(float z, uint32 id)
return;
}

if (i_owner->HasUnitState(UNIT_STATE_ROOT))
return;

i_owner->AddUnitMovementFlag(MOVEMENTFLAG_FALLING);

// don't run spline movement for players

0 comments on commit 47fa370

Please sign in to comment.
You can’t perform that action at this time.