diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-15 02:18:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-15 02:23:36 +0300 |
commit | 99bc9d1fb4bccae0785d731711e3b1009de1b394 (patch) | |
tree | e2ff1d19052011eceaa11baec788e5808dc68a3c /src/map.cpp | |
parent | a72b60b50e639bcd309baadf4199252510cb8118 (diff) | |
download | manaverse-99bc9d1fb4bccae0785d731711e3b1009de1b394.tar.gz manaverse-99bc9d1fb4bccae0785d731711e3b1009de1b394.tar.bz2 manaverse-99bc9d1fb4bccae0785d731711e3b1009de1b394.tar.xz manaverse-99bc9d1fb4bccae0785d731711e3b1009de1b394.zip |
Replace some hardcoded dir separator to physfs.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 3ea9989a4..b8767e5e4 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -42,6 +42,7 @@ #include "utils/mkdir.h" #include <limits.h> +#include <physfs.h> #include <sys/stat.h> @@ -1251,7 +1252,7 @@ void Map::saveExtraLayer() std::string Map::getUserMapDirectory() const { - return Client::getServerConfigDirectory() + "/" + return Client::getServerConfigDirectory() + PHYSFS_getDirSeparator() + getProperty("_realfilename"); } |