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

night transition fix

This commit is contained in:
scrawl 2012-04-05 22:11:04 +02:00
parent e492a69c8f
commit b36c0d95b8

View file

@ -472,6 +472,7 @@ WeatherResult WeatherManager::transition(float factor)
result.mCloudSpeed = current.mCloudSpeed;
result.mCloudOpacity = lerp(current.mCloudOpacity, other.mCloudOpacity);
result.mGlareView = lerp(current.mGlareView, other.mGlareView);
result.mNightFade = lerp(current.mNightFade, other.mNightFade);
result.mNight = current.mNight;