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:
commit
32424b4b6a
1 changed files with 3 additions and 0 deletions
|
@ -1585,6 +1585,9 @@ float SkyManager::getPrecipitationAlpha() const
|
|||
|
||||
void SkyManager::update(float duration)
|
||||
{
|
||||
if (!mEnabled)
|
||||
return;
|
||||
|
||||
switchUnderwaterRain();
|
||||
|
||||
if (mIsStorm)
|
||||
|
|
Loading…
Reference in a new issue