From fddd0ca88ff4dff06d59b9dc1fe6e804d76651e6 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 29 Mar 2024 16:21:09 -0400 Subject: [PATCH] style --- LEGO1/lego/sources/3dmanager/legoview1.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/sources/3dmanager/legoview1.cpp b/LEGO1/lego/sources/3dmanager/legoview1.cpp index 6be60db4..fa78e155 100644 --- a/LEGO1/lego/sources/3dmanager/legoview1.cpp +++ b/LEGO1/lego/sources/3dmanager/legoview1.cpp @@ -186,16 +186,16 @@ void LegoView1::Destroy() // FUNCTION: LEGO1 0x100abb60 void LegoView1::SetLight(BOOL bDirectionalLight, Tgl::FloatMatrix4& rMatrix) { - Tgl::Light* light; + Tgl::Light* pLight; if (bDirectionalLight == FALSE) { - light = m_pSunLight; + pLight = m_pSunLight; } else { - light = m_pDirectionalLight; + pLight = m_pDirectionalLight; } - SetLight(light, rMatrix); + SetLight(pLight, rMatrix); } // FUNCTION: LEGO1 0x100abb80