mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 16:45:34 +00:00
Fix a crash during new game
This commit is contained in:
parent
79c4140ebb
commit
39b7260ab4
1 changed files with 3 additions and 0 deletions
|
@ -1585,6 +1585,9 @@ float SkyManager::getPrecipitationAlpha() const
|
||||||
|
|
||||||
void SkyManager::update(float duration)
|
void SkyManager::update(float duration)
|
||||||
{
|
{
|
||||||
|
if (!mEnabled)
|
||||||
|
return;
|
||||||
|
|
||||||
switchUnderwaterRain();
|
switchUnderwaterRain();
|
||||||
|
|
||||||
if (mIsStorm)
|
if (mIsStorm)
|
||||||
|
|
Loading…
Reference in a new issue