mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 23:20:25 +00:00
Change map loading paths - maps/base/*.map - maps/water/*.wtr - maps/nav/*.nav
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
IPathfinder *IPathfinder::Load(const std::string &zone) {
|
||||
struct stat statbuffer;
|
||||
std::string waypoint_path = fmt::format("maps/{0}.path", zone);
|
||||
std::string navmesh_path = fmt::format("maps/{0}.nav", 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