mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 13:47:57 +00:00
Fear pathing fixups, random path rewrite, and nektulos / general roambox fixups where best Z axis is below the ground
This commit is contained in:
@@ -184,7 +184,7 @@ IPathfinder::IPath PathfinderWaypoint::FindRoute(const glm::vec3 &start, const g
|
||||
return IPath();
|
||||
}
|
||||
|
||||
glm::vec3 PathfinderWaypoint::GetRandomLocation()
|
||||
glm::vec3 PathfinderWaypoint::GetRandomLocation(const glm::vec3 &start)
|
||||
{
|
||||
if (m_impl->Nodes.size() > 0) {
|
||||
auto idx = zone->random.Int(0, (int)m_impl->Nodes.size() - 1);
|
||||
|
||||
Reference in New Issue
Block a user