projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10591d2
)
Try to make background/fog/sky color selection work better
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 27 Mar 2012 19:41:07 +0000
(22:41 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 27 Mar 2012 19:41:07 +0000
(22:41 +0300)
src/clientmap.cpp
patch
|
blob
|
history
diff --git
a/src/clientmap.cpp
b/src/clientmap.cpp
index 7bf6b2f46e62870de5e2e221107bebe85cc0baef..23fe4418637915da0f4a01ad24736fe2aa65504e 100644
(file)
--- a/
src/clientmap.cpp
+++ b/
src/clientmap.cpp
@@
-598,9
+598,9
@@
int ClientMap::getBackgroundBrightness(float max_d, u32 daylight_factor,
if(z_directions[0].X < -99){
for(u32 i=0; i<sizeof(z_directions)/sizeof(*z_directions); i++){
z_directions[i] = v3f(
- 0.01 * myrand_range(-
80, 8
0),
+ 0.01 * myrand_range(-
100, 10
0),
1.0,
- 0.01 * myrand_range(-
80, 8
0)
+ 0.01 * myrand_range(-
100, 10
0)
);
z_offsets[i] = 0.01 * myrand_range(0,100);
}