1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-29 00:06:43 +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). * 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; float calculateAngleFade (const std::string& moonName, float angle) const;
void setWeather(Weather::Type weatherType, bool instant=false); 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; WeatherResult mResult;
float mSunriseTime; float mSunriseTime;
float mSunsetTime; float mSunsetTime;