From 560ec3cc9f8972db9c0c119bc10b567401502c14 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Tue, 5 Sep 2023 14:41:08 +0800 Subject: [PATCH] movement --- src/strategy/actions/MovementActions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/strategy/actions/MovementActions.cpp b/src/strategy/actions/MovementActions.cpp index 44ecef9b..e03f0f22 100644 --- a/src/strategy/actions/MovementActions.cpp +++ b/src/strategy/actions/MovementActions.cpp @@ -158,6 +158,9 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle, break; } } + if (delta > 10.0f) { + delta = 0.5f; + } // if (delta > 10.0f) { // return false; // }