mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 08:28:57 +01:00
Core/Movement: Fix stunned falling units freezing the client
This commit is contained in:
committed by
Ovahlord
parent
e5a240cd7f
commit
42e0a6f1f7
@@ -584,7 +584,7 @@ void MotionMaster::MoveFall(uint32 id /*=0*/)
|
||||
return;
|
||||
|
||||
// rooted units don't move (also setting falling+root flag causes client freezes)
|
||||
if (_owner->HasUnitState(UNIT_STATE_ROOT))
|
||||
if (_owner->HasUnitState(UNIT_STATE_ROOT | UNIT_STATE_STUNNED))
|
||||
return;
|
||||
|
||||
_owner->AddUnitMovementFlag(MOVEMENTFLAG_FALLING);
|
||||
|
||||
Reference in New Issue
Block a user