1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 18:15:35 +00:00

Merge pull request #3052 from akortunov/crashfix

Fix a crash during new game
This commit is contained in:
Chris Djali 2021-03-11 16:28:08 +00:00 committed by GitHub
commit 32424b4b6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1585,6 +1585,9 @@ float SkyManager::getPrecipitationAlpha() const
void SkyManager::update(float duration)
{
if (!mEnabled)
return;
switchUnderwaterRain();
if (mIsStorm)