Mapgen: Fix light in tunnels at mapchunk borders
authorparamat <mat.gregory@virginmedia.com>
Sun, 13 Mar 2016 07:56:27 +0000 (07:56 +0000)
committerparamat <mat.gregory@virginmedia.com>
Mon, 14 Mar 2016 08:45:01 +0000 (08:45 +0000)
commitbb2ee54d3b841ebdb6c6a0b6573b64216ae0baae
tree89e43502d2e9c1791a53e6f280a71f9ec0790fed
parentc0b6986e3875e6f42682c78fd5db0080a7bae651
Mapgen: Fix light in tunnels at mapchunk borders

Don't excavate the overgenerated stone at node_max.Y + 1,
this creates a 'roof' over the tunnel, preventing light in
tunnels at mapchunk borders when generating mapchunks upwards.
src/mapgen_flat.cpp
src/mapgen_fractal.cpp
src/mapgen_v5.cpp
src/mapgen_v7.cpp
src/mapgen_valleys.cpp