Skip to content
Snippets Groups Projects
Commit cb93153e authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix gcc warning about using memset on non-trivial type

parent 78d039e5
No related branches found
No related tags found
No related merge requests found
......@@ -688,7 +688,7 @@ void LLVOSky::forceSkyUpdate()
{
mForceUpdate = TRUE;
memset(&m_lastAtmosphericsVars, 0x00, sizeof(AtmosphericsVars));
m_lastAtmosphericsVars = AtmosphericsVars();
mCubeMapUpdateStage = -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment