1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 12:53:51 +00:00

changeWeather bugfix

This commit is contained in:
scrawl 2012-03-05 19:13:11 +01:00
parent d74b78a302
commit 3ea2a9f05d

View file

@ -758,7 +758,7 @@ unsigned int WeatherManager::getWeatherID() const
return 3; return 3;
else if (mCurrentWeather == "rain") else if (mCurrentWeather == "rain")
return 4; return 4;
else if (mCurrentWeather == "thunder") else if (mCurrentWeather == "thunderstorm")
return 5; return 5;
else if (mCurrentWeather == "ashstorm") else if (mCurrentWeather == "ashstorm")
return 6; return 6;
@ -787,7 +787,7 @@ void WeatherManager::changeWeather(const std::string& region, const unsigned int
else if (id==4) else if (id==4)
weather = "rain"; weather = "rain";
else if (id==5) else if (id==5)
weather = "thunder"; weather = "thunderstorm";
else if (id==6) else if (id==6)
weather = "ashstorm"; weather = "ashstorm";
else if (id==7) else if (id==7)