summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/game-server/spawnarea.cpp7
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1633026a..38441367 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* src/utils/trim.hpp, src/Makefile.am: Added trim function.
* src/game-server/mapreader.cpp: Trimed script filenames from spaces.
+ * src/game-server/spawnarea.cpp: Improved warning message on spawning.
2007-10-27 Guillaume Melquiond <guillaume.melquiond@gmail.com>
diff --git a/src/game-server/spawnarea.cpp b/src/game-server/spawnarea.cpp
index d160f719..abc16575 100644
--- a/src/game-server/spawnarea.cpp
+++ b/src/game-server/spawnarea.cpp
@@ -99,9 +99,10 @@ SpawnArea::update()
}
else
{
- //TODO: This log message should have more information when
- // more flexibility is added to the spawn area
- LOG_WARN("Unable to find a free spawn location for monster");
+ LOG_WARN("Unable to find a free spawn location for monster "
+ << mSpecy->getType() << " on map " << map->getName()
+ << " (" << x << ',' << y << ','
+ << width << ',' << height << ')');
}
}
}