From 99bc9d1fb4bccae0785d731711e3b1009de1b394 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Feb 2012 02:18:57 +0300 Subject: Replace some hardcoded dir separator to physfs. --- src/map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map.cpp') 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 +#include #include @@ -1251,7 +1252,7 @@ void Map::saveExtraLayer() std::string Map::getUserMapDirectory() const { - return Client::getServerConfigDirectory() + "/" + return Client::getServerConfigDirectory() + PHYSFS_getDirSeparator() + getProperty("_realfilename"); } -- cgit v1.2.3-70-g09d2