diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index 4f8cab3eb..c30592073 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -40,9 +40,9 @@ #include "utils/dtor.h" #include "utils/mkdir.h" +#include "utils/physfstools.h" #include <limits.h> -#include <physfs.h> #include <queue> #include <sys/stat.h> @@ -1223,7 +1223,7 @@ void Map::saveExtraLayer() const std::string Map::getUserMapDirectory() const { - return Client::getServerConfigDirectory() + PHYSFS_getDirSeparator() + return Client::getServerConfigDirectory() + PhysFs::getDirSeparator() + getProperty("_realfilename"); } |