Skip to content

Commit

Permalink
Movement is stopped upon losing client control.
Browse files Browse the repository at this point in the history
Closes #2672
  • Loading branch information
ratkosrb committed Jun 20, 2024
1 parent 96cf9c5 commit ff2b96d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/Anticheat/MovementAnticheat/MovementAnticheat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,9 @@ bool MovementAnticheat::CheckFallStop(MovementInfo const& movementInfo, uint16 o
if (opcode == CMSG_FORCE_MOVE_ROOT_ACK)
return false;

if (opcode == CMSG_MOVE_NOT_ACTIVE_MOVER)
return false;

if (movementInfo.HasMovementFlag(MOVEFLAG_ROOT))
return false;

Expand Down

0 comments on commit ff2b96d

Please sign in to comment.