1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Fix uninitialized SkyboxParams::fog_color

This commit is contained in:
grorp
2024-08-31 20:46:14 +02:00
committed by GitHub
parent 5c171f6d61
commit 6608057971

View File

@@ -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