From: Nils Dagsson Moskopp Date: Wed, 13 Jul 2011 21:12:18 +0000 (+0200) Subject: * possible fix for large cubic holes in map X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=5383aa847f1b9d5400def4f2a1b83904dcea9db9;p=zefram%2Fminetest%2Fminetest_engine.git * possible fix for large cubic holes in map --- diff --git a/src/mapgen.cpp b/src/mapgen.cpp index 0fd2e4c8..a491ac81 100644 --- a/src/mapgen.cpp +++ b/src/mapgen.cpp @@ -1317,7 +1317,8 @@ void make_block(BlockMakeData *data) data->seed, v2s16(blockpos.X, blockpos.Z), 1); // Maximum amount of ground above the bottom of the central block s16 maximum_ground_depth = maximum_groundlevel - node_min.Y; - + + #if 0 /* Special case for high air or water: Just fill with air and water. */ @@ -1351,6 +1352,7 @@ void make_block(BlockMakeData *data) // We're done return; } + #endif /* If block is deep underground, this is set to true and ground