summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorBlue Sans Douze <bluesansdouze@gmail.com>2010-01-23 18:56:21 +0100
committerBlue Sans Douze <bluesansdouze@gmail.com>2010-01-23 18:56:21 +0100
commitfc3c62f2d68851b89b345a7aa7852d4a22f848dc (patch)
treec39634989cb0f7a637daaac642f728fe513133cc /src/map.cpp
parent943166059f5e0b7403b00f5d5fc19bd72c706657 (diff)
downloadmana-fc3c62f2d68851b89b345a7aa7852d4a22f848dc.tar.gz
mana-fc3c62f2d68851b89b345a7aa7852d4a22f848dc.tar.bz2
mana-fc3c62f2d68851b89b345a7aa7852d4a22f848dc.tar.xz
mana-fc3c62f2d68851b89b345a7aa7852d4a22f848dc.zip
Chaning the method name Map::getMapId() to map::getFilename()
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 5f411c47..0c6aee8f 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -583,7 +583,7 @@ const std::string &Map::getName() const
return getProperty("mapname");
}
-const std::string *Map::getMapId() const
+const std::string *Map::getFilename() const
{
std::string fileName = getProperty("_filename");
int lastSlash = fileName.rfind("/") + 1;