aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-13 23:12:18 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-13 23:12:18 +0200
commit5383aa847f1b9d5400def4f2a1b83904dcea9db9 (patch)
tree50298f15a578882a0f9c7e98e613ea7a4d8348fa
parentb96450b58666b26e960684b398c54201736e8274 (diff)
downloadminetest-5383aa847f1b9d5400def4f2a1b83904dcea9db9.tar.gz
minetest-5383aa847f1b9d5400def4f2a1b83904dcea9db9.tar.bz2
minetest-5383aa847f1b9d5400def4f2a1b83904dcea9db9.zip
* possible fix for large cubic holes in map
-rw-r--r--src/mapgen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mapgen.cpp b/src/mapgen.cpp
index 0fd2e4c82..a491ac81a 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