diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-01-18 14:34:53 +0100 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-01-18 14:34:53 +0100 |
commit | 2a7c63f6070606e6623a9730aa1ca9d52c942055 (patch) | |
tree | 1dc1e47ffcbaa8f217352159f7e4b65105826942 /src/resources | |
parent | 833b4ee6b06a0d23781153ad117d638fa9cc9ace (diff) | |
download | mana-client-2a7c63f6070606e6623a9730aa1ca9d52c942055.tar.gz mana-client-2a7c63f6070606e6623a9730aa1ca9d52c942055.tar.bz2 mana-client-2a7c63f6070606e6623a9730aa1ca9d52c942055.tar.xz mana-client-2a7c63f6070606e6623a9730aa1ca9d52c942055.zip |
Added current map filename to debug window.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/mapreader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 949d7913..b812b2ce 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -195,6 +195,8 @@ Map *MapReader::readMap(const std::string &filename) logger->log("Error while parsing map file (%s)!", filename.c_str()); } + if (map) map->setProperty("_filename", filename); + return map; } |