mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-28 02:13:52 +00:00
Change range of values to accomodate large roamboxes
This commit is contained in:
parent
8942c0ea24
commit
e1e3d99a79
@ -163,7 +163,7 @@ IPathfinder::IPath PathfinderNavmesh::FindPath(const glm::vec3 &start, const glm
|
||||
static const int max_polys = 256;
|
||||
dtPolyRef start_ref;
|
||||
dtPolyRef end_ref;
|
||||
glm::vec3 ext(5.0f, 100.0f, 5.0f);
|
||||
glm::vec3 ext(10.0f, 200.0f, 10.0f);
|
||||
|
||||
m_impl->query->findNearestPoly(¤t_location[0], &ext[0], &filter, &start_ref, 0);
|
||||
m_impl->query->findNearestPoly(&dest_location[0], &ext[0], &filter, &end_ref, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user