mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 19:07:16 +00:00
[Code] PathManager Global to Singleton Cleanup (#4924)
This commit is contained in:
1 parent
e846bb86b6
commit
df86ad371b
33 files changed
+83
-89
No files matched your search
+1
-1
@@ -271,7 +271,7 @@ bool Map::DoCollisionCheck(glm::vec3 myloc, glm::vec3 oloc, glm::vec3 &outnorm,
|
||||
|
||||
Map *Map::LoadMapFile(std::string file) {
|
||||
std::transform(file.begin(), file.end(), file.begin(), ::tolower);
|
||||
std::string filename = fmt::format("{}/base/{}.map", path.GetMapsPath(), file);
|
||||
std::string filename = fmt::format("{}/base/{}.map", PathManager::Instance()->GetMapsPath(), file);
|
||||
|
||||
LogInfo("Attempting to load Map File [{}]", filename.c_str());
|
||||
|
||||
|
||||
Reference in new issue
Block a user