1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix black tree leaves, reduce above-ground cave shadows

This commit is contained in:
kwolekr 2013-04-07 02:26:46 -04:00
parent 5961106f9f
commit 96e2931c5c
4 changed files with 10 additions and 10 deletions

View file

@ -186,7 +186,9 @@ void MapgenV7::makeChunk(BlockMakeData *data) {
//printf("makeChunk: %dms\n", t.stop());
updateLiquid(&data->transforming_liquid, full_node_min, full_node_max);
calcLighting(node_min, node_max);
calcLighting(node_min - v3s16(1, 0, 1) * MAP_BLOCKSIZE,
node_max + v3s16(1, 0, 1) * MAP_BLOCKSIZE);
//setLighting(node_min, node_max, 0xFF);
this->generating = false;