aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Weather/WeatherMgr.cpp
diff options
context:
space:
mode:
authorShocker <shocker@freakz.ro>2011-04-29 22:24:26 +0300
committerShocker <shocker@freakz.ro>2011-04-29 22:24:26 +0300
commit0fb8f057974cdf3107084be65005956efb5191dc (patch)
tree8fe211ecee643625c01ec3970038e345ec44c5f0 /src/server/game/Weather/WeatherMgr.cpp
parentf96e1ce1d7b10074750da761ff9b219a24d0f09f (diff)
parent1b1d7507f1c3ea768f3fdaf4e1729b66fe590a68 (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore
Diffstat (limited to 'src/server/game/Weather/WeatherMgr.cpp')
-rwxr-xr-xsrc/server/game/Weather/WeatherMgr.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Weather/WeatherMgr.cpp b/src/server/game/Weather/WeatherMgr.cpp
index 79600b482df..2c1b7e5fc54 100755
--- a/src/server/game/Weather/WeatherMgr.cpp
+++ b/src/server/game/Weather/WeatherMgr.cpp
@@ -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);
}
}