forked from teamnwah/openmw-tes3coop
Fixes #417: Apply weather instantly when teleporting
Correction to previous commit - WeatherManager->update() will always be called. Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
parent
e9844e1b37
commit
101813fd0d
1 changed files with 2 additions and 4 deletions
|
@ -2252,9 +2252,7 @@ namespace MWWorld
|
|||
mPlayer->setTeleported(false);
|
||||
mWeatherManager->switchToNextWeather(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
mWeatherManager->update (duration);
|
||||
}
|
||||
|
||||
mWeatherManager->update(duration);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue