From: <wel...@us...> - 2010-12-13 08:15:13
|
Revision: 6522 http://planeshift.svn.sourceforge.net/planeshift/?rev=6522&view=rev Author: weltall2 Date: 2010-12-13 08:15:06 +0000 (Mon, 13 Dec 2010) Log Message: ----------- improved debug output Modified Paths: -------------- trunk/src/server/weathermanager.cpp Modified: trunk/src/server/weathermanager.cpp =================================================================== --- trunk/src/server/weathermanager.cpp 2010-12-12 20:14:55 UTC (rev 6521) +++ trunk/src/server/weathermanager.cpp 2010-12-13 08:15:06 UTC (rev 6522) @@ -301,7 +301,7 @@ { event->si->current_rain_drops = event->value; - Notify3(LOG_WEATHER,"New rain in sector '%s': %d",event->si->name.GetData(),event->value); + Notify3(LOG_WEATHER,"New %s in sector '%s': %d",event->type == psWeatherMessage::SNOW ? "snow" : "rain", event->si->name.GetData(),event->value); psWeatherMessage::NetWeatherInfo info; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |