diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-30 21:03:57 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-30 21:03:57 -0600 |
commit | 908a43a0522cf879daed4e671f187eb25329cfa7 (patch) | |
tree | 0b84125cb3266c95b50fe9b4201915cd94fe5732 | |
parent | a6be972e18004d0c73e35261eef2bb28951b136f (diff) | |
download | mana-908a43a0522cf879daed4e671f187eb25329cfa7.tar.gz mana-908a43a0522cf879daed4e671f187eb25329cfa7.tar.bz2 mana-908a43a0522cf879daed4e671f187eb25329cfa7.tar.xz mana-908a43a0522cf879daed4e671f187eb25329cfa7.zip |
Add a logging statement before trying to load maps
There is a rare segfault between this and the next logging statement, I
think it's a bad map name. This will help test that.
-rw-r--r-- | src/resources/mapreader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 50d7cf67..1e0eee50 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -143,6 +143,7 @@ int inflateMemory(unsigned char *in, unsigned int inLength, Map *MapReader::readMap(const std::string &filename) { + logger->log("Attempting to read map %s", filename.c_str()); // Load the file through resource manager ResourceManager *resman = ResourceManager::getInstance(); int fileSize; |