changeWeather bugfix

actorid
scrawl 13 years ago
parent d74b78a302
commit 3ea2a9f05d

@ -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)

Loading…
Cancel
Save