Fix map loading paths for both platforms

This commit is contained in:
Akkadius
2016-11-11 22:39:08 -06:00
parent e8d80a436e
commit 04c8fe7d2c
+1
View File
@@ -286,6 +286,7 @@ Map *Map::LoadMapFile(std::string file) {
filename = Config->MapDir;
}
std::transform(file.begin(), file.end(), file.begin(), ::tolower);
filename += "/";
filename += file;
filename += ".map";