mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Fix fog moon tint not working
This commit is contained in:
parent
abf353c178
commit
a4768d1638
1 changed files with 3 additions and 3 deletions
|
@ -490,9 +490,9 @@ void Sky::update(float time_of_day, float time_brightness,
|
|||
);
|
||||
} else {
|
||||
pointcolor_moon_f = video::SColorf(
|
||||
(m_sky_params.fog_moon_tint.getRed() / 255) * pointcolor_light,
|
||||
(m_sky_params.fog_moon_tint.getGreen() / 255) * pointcolor_light,
|
||||
(m_sky_params.fog_moon_tint.getBlue() / 255) * pointcolor_light,
|
||||
(m_sky_params.fog_moon_tint.getRed() / 255.0f) * pointcolor_light,
|
||||
(m_sky_params.fog_moon_tint.getGreen() / 255.0f) * pointcolor_light,
|
||||
(m_sky_params.fog_moon_tint.getBlue() / 255.0f) * pointcolor_light,
|
||||
1
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue