aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Weather/WeatherMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Weather/WeatherMgr.cpp')
-rwxr-xr-xsrc/server/game/Weather/WeatherMgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Weather/WeatherMgr.cpp b/src/server/game/Weather/WeatherMgr.cpp
index 41241583ea1..bb8fadf08bc 100755
--- a/src/server/game/Weather/WeatherMgr.cpp
+++ b/src/server/game/Weather/WeatherMgr.cpp
@@ -108,9 +108,9 @@ void LoadWeatherData()
for (uint8 season = 0; season < WEATHER_SEASONS; ++season)
{
- wzc.data[season].rainChance = fields[season * (MAX_WEATHER_TYPE-1) + 1].GetUInt32();
- wzc.data[season].snowChance = fields[season * (MAX_WEATHER_TYPE-1) + 2].GetUInt32();
- wzc.data[season].stormChance = fields[season * (MAX_WEATHER_TYPE-1) + 3].GetUInt32();
+ wzc.data[season].rainChance = fields[season * (MAX_WEATHER_TYPE-1) + 1].GetUInt8();
+ wzc.data[season].snowChance = fields[season * (MAX_WEATHER_TYPE-1) + 2].GetUInt8();
+ wzc.data[season].stormChance = fields[season * (MAX_WEATHER_TYPE-1) + 3].GetUInt8();
if (wzc.data[season].rainChance > 100)
{