From b36c0d95b80c565e1cb9c4f94a8b24a44891db6b Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 5 Apr 2012 22:11:04 +0200 Subject: [PATCH] night transition fix --- apps/openmw/mwworld/weather.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwworld/weather.cpp b/apps/openmw/mwworld/weather.cpp index 09fd20076..8422dd916 100644 --- a/apps/openmw/mwworld/weather.cpp +++ b/apps/openmw/mwworld/weather.cpp @@ -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;