mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 12:40:04 +00:00
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
@ -2252,9 +2252,7 @@ namespace MWWorld
|
||||
mPlayer->setTeleported(false);
|
||||
mWeatherManager->switchToNextWeather(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
mWeatherManager->update (duration);
|
||||
}
|
||||
|
||||
mWeatherManager->update(duration);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user