Skip to content

Commit

Permalink
More generic check for movement when mounting
Browse files Browse the repository at this point in the history
  • Loading branch information
celguar committed Feb 4, 2024
1 parent 350b6b2 commit 70b25d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/strategy/actions/CheckMountStateAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ bool CheckMountStateAction::Mount(Player* requester)

ai->RemoveShapeshift();

if (!bot->IsStopped())
if (sServerFacade.isMoving(bot))
{
ai->StopMoving();
}
Expand Down

0 comments on commit 70b25d8

Please sign in to comment.