mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Bunch of refactoring and walking, AI needs a ton of tweaking to use the new logic
This commit is contained in:
@@ -134,7 +134,7 @@ IPathfinder::IPath PathfinderNavmesh::FindRoute(const glm::vec3 &start, const gl
|
||||
glm::vec3 PathfinderNavmesh::GetRandomLocation()
|
||||
{
|
||||
if (!m_impl->nav_mesh) {
|
||||
return glm::vec3();
|
||||
return glm::vec3(0.f);
|
||||
}
|
||||
|
||||
if (!m_impl->query) {
|
||||
@@ -155,7 +155,7 @@ glm::vec3 PathfinderNavmesh::GetRandomLocation()
|
||||
return glm::vec3(point[0], point[2], point[1]);
|
||||
}
|
||||
|
||||
return glm::vec3();
|
||||
return glm::vec3(0.f);
|
||||
}
|
||||
|
||||
void PathfinderNavmesh::DebugCommand(Client *c, const Seperator *sep)
|
||||
|
||||
Reference in New Issue
Block a user