summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-18 01:07:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-18 01:07:09 +0300
commit566ce2ee769e863977d57ba156a281ade5cb9c05 (patch)
tree57c7fed83e2fa35588bd488431dd1129cf2345c3 /src/map.cpp
parent1c119959b43d7dde5291ea5ae5d70b59e72b8c10 (diff)
downloadmv-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.cpp4
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");
}