summaryrefslogtreecommitdiff
path: root/src/daynightratio.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-10-18 21:54:44 +0100
committerGitHub <noreply@github.com>2019-10-18 21:54:44 +0100
commit79440605ec2a16bf9a0a8df58bc15d9d9d2b42bd (patch)
treee9aa5ec960774d57be47cb2a19f77d887d91c78c /src/daynightratio.h
parent15b6922ae6e3d4807e709fcfea0615595f6f765e (diff)
downloadminetest-79440605ec2a16bf9a0a8df58bc15d9d9d2b42bd.tar.gz
minetest-79440605ec2a16bf9a0a8df58bc15d9d9d2b42bd.tar.bz2
minetest-79440605ec2a16bf9a0a8df58bc15d9d9d2b42bd.zip
Make natural night light as bright as MT 0.4.16 (#9053)
Diffstat (limited to 'src/daynightratio.h')
-rw-r--r--src/daynightratio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daynightratio.h b/src/daynightratio.h
index 5986da5fc..538767cad 100644
--- a/src/daynightratio.h
+++ b/src/daynightratio.h
@@ -30,8 +30,8 @@ inline u32 time_to_daynight_ratio(float time_of_day, bool smooth)
t = 24000.0f - t;
const float values[9][2] = {
- {4250.0f + 125.0f, 150.0f},
- {4500.0f + 125.0f, 150.0f},
+ {4250.0f + 125.0f, 175.0f},
+ {4500.0f + 125.0f, 175.0f},
{4750.0f + 125.0f, 250.0f},
{5000.0f + 125.0f, 350.0f},
{5250.0f + 125.0f, 500.0f},