summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-13 21:23:33 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-13 21:59:10 +0200
commitbf32ca896ccf51385eb67812088ba5861ca2ede2 (patch)
tree02cc6a7f8de3ef48b6092668368f3b5ba8f35683 /src/map.cpp
parent774e86e8d2f8d787fb3b3a865cd500f166153c96 (diff)
downloadmanaverse-bf32ca896ccf51385eb67812088ba5861ca2ede2.tar.gz
manaverse-bf32ca896ccf51385eb67812088ba5861ca2ede2.tar.bz2
manaverse-bf32ca896ccf51385eb67812088ba5861ca2ede2.tar.xz
manaverse-bf32ca896ccf51385eb67812088ba5861ca2ede2.zip
Add ability to remap maps to different files.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 855570eb8..c5cd1e3b5 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -1333,7 +1333,8 @@ void Map::saveExtraLayer()
std::string Map::getUserMapDirectory() const
{
- return Client::getServerConfigDirectory() + "/" + getProperty("_filename");
+ return Client::getServerConfigDirectory() + "/"
+ + getProperty("_realfilename");
}
void Map::addPortal(const std::string &name, int type,