mirror of
https://github.com/minetest/minetest.git
synced 2025-01-01 13:50:27 +01:00
Fix fog moon tint not working
This commit is contained in:
parent
abf353c178
commit
a4768d1638
@ -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…
Reference in New Issue
Block a user