This commit is contained in:
aozhiwei 2023-04-10 19:32:15 +08:00
commit 08f442aa9c

View File

@ -2299,7 +2299,7 @@ void Creature::UpdateMove()
if (!GetMovement()->IsFindPath()) {
GetMovement()->CalcTargetPos(mt::Param::s().move_step_len);
if (!GetMovement()->UpdatePosition()) {
if (IsPlayer()) {
if (IsPlayer() && !HasBuffEffect(kBET_Sprint)) {
ShortFindPath();
}
}