summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-30 21:03:57 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-30 21:03:57 -0600
commit908a43a0522cf879daed4e671f187eb25329cfa7 (patch)
tree0b84125cb3266c95b50fe9b4201915cd94fe5732 /src
parenta6be972e18004d0c73e35261eef2bb28951b136f (diff)
downloadmana-client-908a43a0522cf879daed4e671f187eb25329cfa7.tar.gz
mana-client-908a43a0522cf879daed4e671f187eb25329cfa7.tar.bz2
mana-client-908a43a0522cf879daed4e671f187eb25329cfa7.tar.xz
mana-client-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.
Diffstat (limited to 'src')
-rw-r--r--src/resources/mapreader.cpp1
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;