Core/Weather: Fix small weather system bug (#431)

cmangos/mangos-wotlk@5ef2f17
This commit is contained in:
Kittnz
2017-04-20 06:08:25 +02:00
committed by StadenElysium
parent a0b508ee90
commit f27ecc2963
+1 -1
View File
@@ -163,7 +163,7 @@ bool Weather::ReGenerate()
uint32 chance2 = chance1 + m_weatherChances->data[season].snowChance;
uint32 chance3 = chance2 + m_weatherChances->data[season].stormChance;
uint32 rnd = urand(0, 99);
uint32 rnd = urand(1, 100);
if (rnd <= chance1)
m_type = WEATHER_TYPE_RAIN;
else if (rnd <= chance2)