diff options
Diffstat (limited to 'src/server/game/Weather/WeatherMgr.cpp')
-rwxr-xr-x | src/server/game/Weather/WeatherMgr.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/game/Weather/WeatherMgr.cpp b/src/server/game/Weather/WeatherMgr.cpp index 0108c2dcc35..107219c9591 100755 --- a/src/server/game/Weather/WeatherMgr.cpp +++ b/src/server/game/Weather/WeatherMgr.cpp @@ -84,8 +84,8 @@ void WeatherMgr::LoadWeatherData() if (!result) { - sLog.outErrorDb(">> Loaded 0 weather definitions. DB table `game_weather` is empty."); - sLog.outString(); + sLog->outErrorDb(">> Loaded 0 weather definitions. DB table `game_weather` is empty."); + sLog->outString(); return; } @@ -107,19 +107,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); } } @@ -129,8 +129,8 @@ void WeatherMgr::LoadWeatherData() } while (result->NextRow()); - sLog.outString(">> Loaded %u weather definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime)); - sLog.outString(); + sLog->outString(">> Loaded %u weather definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime)); + sLog->outString(); } void WeatherMgr::Update(uint32 diff) |