mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
Patch notes - navmesh merge
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
IPathfinder *IPathfinder::Load(const std::string &zone) {
|
||||
struct stat statbuffer;
|
||||
std::string waypoint_path = fmt::format("maps/{0}.path", zone);
|
||||
std::string waypoint_path = fmt::format("maps/path/{0}.path", zone);
|
||||
std::string navmesh_path = fmt::format("maps/nav/{0}.nav", zone);
|
||||
if (stat(navmesh_path.c_str(), &statbuffer) == 0) {
|
||||
return new PathfinderNavmesh(navmesh_path);
|
||||
|
||||
Reference in New Issue
Block a user