summaryrefslogtreecommitdiff
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, 1 insertions, 2 deletions
diff --git a/src/mapgen_singlenode.cpp b/src/mapgen_singlenode.cpp
index 2e7b3dc88..5f81aba98 100644
--- a/src/mapgen_singlenode.cpp
+++ b/src/mapgen_singlenode.cpp
@@ -101,8 +101,7 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data)
// Calculate lighting
if (flags & MG_LIGHT)
- calcLighting(node_min - v3s16(1, 0, 1) * MAP_BLOCKSIZE,
- node_max + v3s16(1, 0, 1) * MAP_BLOCKSIZE);
+ calcLighting(node_min, node_max);
this->generating = false;
}