aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mg_ore.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-11-12 22:25:35 +0000
committerGitHub <noreply@github.com>2018-11-12 22:25:35 +0000
commit85b01eacd22060e332fada4895ac2cafd04b106a (patch)
tree8df94c65811e87533e91eec5fcc1127948bd4271 /src/mapgen/mg_ore.h
parent98ee08904b3a11d9b64a95edebd4d8852d4a2301 (diff)
downloadminetest-85b01eacd22060e332fada4895ac2cafd04b106a.tar.gz
minetest-85b01eacd22060e332fada4895ac2cafd04b106a.tar.bz2
minetest-85b01eacd22060e332fada4895ac2cafd04b106a.zip
Night sky: Fix brightness threshold for applying night colours (#7859)
Previously, 'time_brightness' never fell below the threshold so night sky colours were not applied. Increase the threshold value. But now also set it to a value less sensitive to possible future small changes in 'time_brightness', by setting it halfway between the 'time_brightness' values for darkest night and first stage of dawn.
Diffstat (limited to 'src/mapgen/mg_ore.h')
0 files changed, 0 insertions, 0 deletions