diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-01 00:14:51 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-01 00:14:51 +0000 |
commit | 05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c (patch) | |
tree | 921b18da0dc52e7562f0c6a02e5343f9b582cf64 /src/map.cpp | |
parent | 78c72d1463735ad6e3a176f89d3c41a5ed71fc40 (diff) | |
download | mana-client-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.gz mana-client-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.bz2 mana-client-05f71c98af1bc9d9aabf3e8e3dc78cae75675e1c.tar.xz mana-client-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.cpp | 2 |
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 |