1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 09:36:43 +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) void SkyManager::update(float duration)
{ {
if (!mEnabled)
return;
switchUnderwaterRain(); switchUnderwaterRain();
if (mIsStorm) if (mIsStorm)