summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-01 00:14:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-01 00:14:51 +0000
commit05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c (patch)
tree921b18da0dc52e7562f0c6a02e5343f9b582cf64 /src/map.cpp
parent78c72d1463735ad6e3a176f89d3c41a5ed71fc40 (diff)
downloadmana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.gz
mana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.bz2
mana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.xz
mana-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.zip
* The client will now only attempt to load .tmx or .tmx.gz files.
* When unable to connect to char server, report IP to which it can't connect. * Cleaned up logger a bit.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 60190f6f..df9aafc5 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -112,6 +112,8 @@ Map::~Map()
Map *Map::load(const std::string &mapFile)
{
+ logger.log("Map::load(%s)", mapFile.c_str());
+
if (mapFile.find(".tmx", 0) != std::string::npos)
{
// New map file format assumed