This commit is contained in:
aozhiwei 2023-04-10 19:31:59 +08:00
parent 14f5be9e86
commit d7b6d48e78

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();
}
}