diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-18 01:07:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-18 01:07:09 +0300 |
commit | 566ce2ee769e863977d57ba156a281ade5cb9c05 (patch) | |
tree | 57c7fed83e2fa35588bd488431dd1129cf2345c3 /src/map.cpp | |
parent | 1c119959b43d7dde5291ea5ae5d70b59e72b8c10 (diff) | |
download | mv-566ce2ee769e863977d57ba156a281ade5cb9c05.tar.gz mv-566ce2ee769e863977d57ba156a281ade5cb9c05.tar.bz2 mv-566ce2ee769e863977d57ba156a281ade5cb9c05.tar.xz mv-566ce2ee769e863977d57ba156a281ade5cb9c05.zip |
move most direct calls to physfs to separate file.
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"); } |