From 85295251890a621a34f374d3082e4db7374ad23e Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Tue, 13 Nov 2007 21:30:24 +0000 Subject: Improved warning message on spawning. --- ChangeLog | 1 + src/game-server/spawnarea.cpp | 7 ++++--- 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 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 << ')'); } } } -- cgit v1.2.3-60-g2f50