mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-17 19:43:08 +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
1 changed files with 2 additions and 4 deletions
|
|
@ -2252,9 +2252,7 @@ namespace MWWorld
|
||||||
mPlayer->setTeleported(false);
|
mPlayer->setTeleported(false);
|
||||||
mWeatherManager->switchToNextWeather(true);
|
mWeatherManager->switchToNextWeather(true);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
mWeatherManager->update(duration);
|
mWeatherManager->update(duration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue