diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp index 878d7287ede083fa1b371d42f9934da2343b6a7d..8232d47808a247805e72d7c00cef895a68184b45 100644 --- a/indra/newview/llvosky.cpp +++ b/indra/newview/llvosky.cpp @@ -680,9 +680,7 @@ void LLVOSky::idleUpdate(LLAgent &agent, const F64 &time) void LLVOSky::forceSkyUpdate() { mForceUpdate = TRUE; - - memset(&m_lastAtmosphericsVars, 0x00, sizeof(AtmosphericsVars)); - + m_lastAtmosphericsVars = {}; mCubeMapUpdateStage = -1; }