mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
movement
This commit is contained in:
parent
1aaa1f8507
commit
1deac0bbc0
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user