mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Fix uninitialized SkyboxParams::fog_color
This commit is contained in:
parent
9e198fc22c
commit
166782040e
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ struct SkyboxParams
|
||||||
float body_orbit_tilt { INVALID_SKYBOX_TILT };
|
float body_orbit_tilt { INVALID_SKYBOX_TILT };
|
||||||
s16 fog_distance { -1 };
|
s16 fog_distance { -1 };
|
||||||
float fog_start { -1.0f };
|
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
|
struct SunParams
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue