mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 10:47:16 +00:00
Some changes to navmesh path finding, disabled waypoint nav interface for now, might keep it disabled (i don't think anyones using it anyway) added a rule that might need some fine tuning for navmesh pathfinding
This commit is contained in:
1 parent
d3aa74ff54
commit
e96539e6a8
10 files changed
+307
-27
No files matched your search
+1
-1
@@ -3441,7 +3441,7 @@ float Mob::FindDestGroundZ(glm::vec3 dest, float z_offset)
|
||||
if (zone->zonemap != nullptr)
|
||||
{
|
||||
dest.z += z_offset;
|
||||
best_z = zone->zonemap->FindClosestZ(dest, nullptr);
|
||||
best_z = zone->zonemap->FindBestZ(dest, nullptr);
|
||||
}
|
||||
return best_z;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user