Add spaces after commas
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user