diff options
author | kwolekr <kwolekr@minetest.net> | 2013-04-07 02:26:46 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-04-07 02:26:46 -0400 |
commit | 96e2931c5c154262566359495d4a0b8515376947 (patch) | |
tree | 02b2f587b6cdce36dcdd90d508a632d8d9874bb4 /src/mapgen_v6.cpp | |
parent | 5961106f9ffd9e9a2bc23e4bd700f6ce07505c9a (diff) | |
download | minetest-96e2931c5c154262566359495d4a0b8515376947.tar.gz minetest-96e2931c5c154262566359495d4a0b8515376947.tar.bz2 minetest-96e2931c5c154262566359495d4a0b8515376947.zip |
Fix black tree leaves, reduce above-ground cave shadows
Diffstat (limited to 'src/mapgen_v6.cpp')
-rw-r--r-- | src/mapgen_v6.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp index 275d4b78f..4a037bb85 100644 --- a/src/mapgen_v6.cpp +++ b/src/mapgen_v6.cpp @@ -471,7 +471,8 @@ void MapgenV6::makeChunk(BlockMakeData *data) { } // Calculate lighting - calcLighting(node_min, node_max); + calcLighting(node_min - v3s16(1, 1, 1) * MAP_BLOCKSIZE, + node_max + v3s16(1, 0, 1) * MAP_BLOCKSIZE); this->generating = false; } |