Add spaces after commas

This commit is contained in:
leak
2011-04-29 20:47:02 +02:00
parent 01a79947d5
commit 1003f30448
645 changed files with 9439 additions and 9439 deletions
+4 -4
View File
@@ -66,7 +66,7 @@ Weather* WeatherMgr::AddWeather(uint32 zone_id)
if (!weatherChances)
return NULL;
Weather* w = new Weather(zone_id,weatherChances);
Weather* w = new Weather(zone_id, weatherChances);
m_weathers[w->GetZone()] = w;
w->ReGenerate();
w->UpdateWeather();
@@ -106,19 +106,19 @@ void WeatherMgr::LoadWeatherData()
if (wzc.data[season].rainChance > 100)
{
wzc.data[season].rainChance = 25;
sLog->outErrorDb("Weather for zone %u season %u has wrong rain chance > 100%%",zone_id,season);
sLog->outErrorDb("Weather for zone %u season %u has wrong rain chance > 100%%", zone_id, season);
}
if (wzc.data[season].snowChance > 100)
{
wzc.data[season].snowChance = 25;
sLog->outErrorDb("Weather for zone %u season %u has wrong snow chance > 100%%",zone_id,season);
sLog->outErrorDb("Weather for zone %u season %u has wrong snow chance > 100%%", zone_id, season);
}
if (wzc.data[season].stormChance > 100)
{
wzc.data[season].stormChance = 25;
sLog->outErrorDb("Weather for zone %u season %u has wrong storm chance > 100%%",zone_id,season);
sLog->outErrorDb("Weather for zone %u season %u has wrong storm chance > 100%%", zone_id, season);
}
}