1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Static for nextWeather()

This commit is contained in:
Miroslav Puda 2013-06-19 16:49:43 +02:00
parent c467b1cf4e
commit f9940413fd
2 changed files with 2 additions and 2 deletions

View File

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

View File

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