diff options
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r-- | src/mapblock.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp index c5ede565a..63f33ffc0 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -1182,7 +1182,8 @@ void MapBlock::updateMesh(u32 daynight_ratio) */ else if(n.d == CONTENT_LEAVES && new_style_leaves) { - u8 l = decode_light(n.getLightBlend(daynight_ratio)); + /*u8 l = decode_light(n.getLightBlend(daynight_ratio));*/ + u8 l = decode_light(undiminish_light(n.getLightBlend(daynight_ratio))); video::SColor c(255,l,l,l); for(u32 j=0; j<6; j++) |