Static for nextWeather()

actorid
Miroslav Puda 12 years ago
parent c467b1cf4e
commit f9940413fd

@ -579,7 +579,7 @@ void WeatherManager::stopSounds(bool stopAll)
}
}
Weather::Type WeatherManager::nextWeather(const ESM::Region* region)
Weather::Type WeatherManager::nextWeather(const ESM::Region* region) const
{
/*
* All probabilities must add to 100 (responsibility of the user).

@ -202,7 +202,7 @@ namespace MWWorld
float calculateAngleFade (const std::string& moonName, float angle) const;
void setWeather(Weather::Type weatherType, bool instant=false);
Weather::Type nextWeather(const ESM::Region* region);
Weather::Type nextWeather(const ESM::Region* region) const;
WeatherResult mResult;
float mSunriseTime;
float mSunsetTime;

Loading…
Cancel
Save