From 166782040efc394a4abaf5e6a2bac35c1e93407b Mon Sep 17 00:00:00 2001 From: grorp Date: Sat, 31 Aug 2024 20:46:14 +0200 Subject: [PATCH] Fix uninitialized SkyboxParams::fog_color --- src/skyparams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skyparams.h b/src/skyparams.h index a4d0fadac..2ff918f36 100644 --- a/src/skyparams.h +++ b/src/skyparams.h @@ -46,7 +46,7 @@ struct SkyboxParams float body_orbit_tilt { INVALID_SKYBOX_TILT }; s16 fog_distance { -1 }; float fog_start { -1.0f }; - video::SColor fog_color; // override, only used if alpha > 0 + video::SColor fog_color { 0 }; // override, only used if alpha > 0 }; struct SunParams