This commit is contained in:
Yunfan Li
2023-09-05 00:16:53 +08:00
parent 1aaa1f8507
commit 1deac0bbc0

View File

@@ -158,9 +158,9 @@ bool MovementAction::MoveTo(uint32 mapId, float x, float y, float z, bool idle,
break;
}
}
if (delta > 10.0f) {
return false;
}
// if (delta > 10.0f) {
// return false;
// }
// z += 0.5f;
float distance = bot->GetDistance2d(x, y);
if (distance > sPlayerbotAIConfig->contactDistance)