[Code] PathManager Global to Singleton Cleanup (#4924)

This commit is contained in:
Chris Miles authored and GitHub committed 2025-06-22 13:50:52 -04:00
1 parent e846bb86b6
commit df86ad371b
33 files changed
+83 -89

No files matched your search

+1 -1
View File
@@ -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());