From 45335ca19a5691446e992db52ed142a5815d62bc Mon Sep 17 00:00:00 2001 From: ErLullo Date: Thu, 19 Feb 2026 02:51:51 +0100 Subject: [PATCH] Add fog level default setting to environment data loading --- src/GameLib/MapUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GameLib/MapUtil.cpp b/src/GameLib/MapUtil.cpp index 80cccc7..8b735a8 100644 --- a/src/GameLib/MapUtil.cpp +++ b/src/GameLib/MapUtil.cpp @@ -30,6 +30,7 @@ void Environment_Init(SEnvironmentData& envData) // MR-14: Fog update by Alaric envData.bFogEnable = TRUE; envData.bDensityFog = TRUE; + envData.bFogLevel = 0; // MR-14: -- END OF -- Fog update by Alaric envData.m_fFogNearDistance = 25600.0f * 0.5f; envData.m_fFogFarDistance = 25600.0f * 0.7f; @@ -308,4 +309,4 @@ float CEaseOutInterpolation::GetValue() float CEaseOutInterpolation::GetChangingValue() { return m_fValue - m_fLastValue; -} \ No newline at end of file +}