forked from mirror/openmw-tes3mp
weather fix again
This commit is contained in:
parent
cdea19206c
commit
c748252d33
2 changed files with 4 additions and 3 deletions
|
@ -55,8 +55,6 @@ enum VisibilityFlags
|
|||
RV_Map = RV_Terrain + RV_Statics + RV_StaticsSmall + RV_Misc + RV_Water,
|
||||
|
||||
/// \todo markers (normally hidden)
|
||||
|
||||
RV_All = 255
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -334,8 +334,11 @@ WeatherManager::WeatherManager(MWRender::RenderingManager* rendering, MWWorld::E
|
|||
|
||||
void WeatherManager::setWeather(const String& weather, bool instant)
|
||||
{
|
||||
if (weather == mCurrentWeather && mNextWeather == "")
|
||||
if (weather == mCurrentWeather && mNextWeather == "")
|
||||
{
|
||||
mFirstUpdate = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (instant || mFirstUpdate)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue