aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_v5.cpp')
-rw-r--r--src/mapgen_v5.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp
index 24c81e56d..16fe4be5d 100644
--- a/src/mapgen_v5.cpp
+++ b/src/mapgen_v5.cpp
@@ -290,8 +290,7 @@ void MapgenV5::makeChunk(BlockMakeData *data)
// Calculate lighting
if (flags & MG_LIGHT)
- calcLighting(node_min - v3s16(0, 1, 0) - v3s16(1, 0, 1) * MAP_BLOCKSIZE,
- node_max + v3s16(0, 1, 0) + v3s16(1, 0, 1) * MAP_BLOCKSIZE);
+ calcLighting(node_min - v3s16(0, 1, 0), node_max + v3s16(0, 1, 0));
this->generating = false;
}