diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-13 21:30:24 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-13 21:30:24 +0000 |
commit | 85295251890a621a34f374d3082e4db7374ad23e (patch) | |
tree | 859ec72d73e0829f6d8991db694afffb3cf58634 | |
parent | d49ea83c87a80480b1db90b1ef2d727fd95e737e (diff) | |
download | manaserv-85295251890a621a34f374d3082e4db7374ad23e.tar.gz manaserv-85295251890a621a34f374d3082e4db7374ad23e.tar.bz2 manaserv-85295251890a621a34f374d3082e4db7374ad23e.tar.xz manaserv-85295251890a621a34f374d3082e4db7374ad23e.zip |
Improved warning message on spawning.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/game-server/spawnarea.cpp | 7 |
2 files changed, 5 insertions, 3 deletions
@@ -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 << ')'); } } } |