aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_singlenode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_singlenode.cpp')
-rw-r--r--src/mapgen_singlenode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapgen_singlenode.cpp b/src/mapgen_singlenode.cpp
index 22b756abb..f05ddd2f4 100644
--- a/src/mapgen_singlenode.cpp
+++ b/src/mapgen_singlenode.cpp
@@ -91,7 +91,8 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data) {
updateLiquid(&data->transforming_liquid, node_min, node_max);
// Calculate lighting
- calcLighting(node_min, node_max);
+ calcLighting(node_min - v3s16(1, 0, 1) * MAP_BLOCKSIZE,
+ node_max + v3s16(1, 0, 1) * MAP_BLOCKSIZE);
this->generating = false;
}