projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15b6922
)
Make natural night light as bright as MT 0.4.16 (#9053)
author
Paramat
<paramat@users.noreply.github.com>
Fri, 18 Oct 2019 20:54:44 +0000
(21:54 +0100)
committer
GitHub
<noreply@github.com>
Fri, 18 Oct 2019 20:54:44 +0000
(21:54 +0100)
src/daynightratio.h
patch
|
blob
|
history
diff --git
a/src/daynightratio.h
b/src/daynightratio.h
index 5986da5fcdf8d9258f62c5594925e9fb1ab01b9e..538767cad94c33ee4d762269361e9ee3bfbb9738 100644
(file)
--- 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, 1
50
.0f},
- {4500.0f + 125.0f, 1
50
.0f},
+ {4250.0f + 125.0f, 1
75
.0f},
+ {4500.0f + 125.0f, 1
75
.0f},
{4750.0f + 125.0f, 250.0f},
{5000.0f + 125.0f, 350.0f},
{5250.0f + 125.0f, 500.0f},