From d6b698ebe4d29f30b8dc83d53182b1b7309f0625 Mon Sep 17 00:00:00 2001 From: Lakshmi Narayan Vengesanam Date: Tue, 24 Sep 2024 14:22:30 -0700 Subject: [PATCH] Correct default LightEnable values for state map --- src/client/d3d9_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/d3d9_device.cpp b/src/client/d3d9_device.cpp index b1a628b..b6a254f 100644 --- a/src/client/d3d9_device.cpp +++ b/src/client/d3d9_device.cpp @@ -3727,7 +3727,7 @@ HRESULT Direct3DDevice9Ex_LSS::ResetState() { // Reset Light States for (uint32_t i = 0; i < caps::MaxEnabledLights; ++i) { - m_state.bLightEnables[i] = 1; + m_state.bLightEnables[i] = 0; } // Reset Stream Frequency