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:
commit
32424b4b6a
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