]> git.lizzy.rs Git - minetest.git/blobdiff - src/mapgen_v6.cpp
Remove Android makefile ugly make -j hack
[minetest.git] / src / mapgen_v6.cpp
index 7f5be27ae83ad4b7d7597364f289337188804c06..fcf59562f1b096dc2850b88f153aacbb18c2594c 100644 (file)
@@ -479,6 +479,9 @@ void MapgenV6::makeChunk(BlockMakeData *data)
 
        generateExperimental();
 
+       // Create initial heightmap to limit caves
+       updateHeightmap(node_min, node_max);
+
        const s16 max_spread_amount = MAP_BLOCKSIZE;
        // Limit dirt flow area by 1 because mud is flown into neighbors.
        s16 mudflow_minpos = -max_spread_amount + 1;
@@ -503,7 +506,7 @@ void MapgenV6::makeChunk(BlockMakeData *data)
 
        }
 
-       // Create heightmap after mudflow
+       // Update heightmap after mudflow
        updateHeightmap(node_min, node_max);
 
        // Add dungeons