mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
Fix a crash during new game
This commit is contained in:
parent
79c4140ebb
commit
39b7260ab4
@ -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…
x
Reference in New Issue
Block a user