summaryrefslogtreecommitdiff
path: root/src
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
commit1cdf210e4f01b7221a241cbb911f08bc6ffa75bd (patch)
tree2c7a78a8096fccec42ade8a3b019b2185d6e7e50 /src
parentb0ad5ce8e2a8da4fd98510b15c0afb3a8e2c96f4 (diff)
downloadminetest-1cdf210e4f01b7221a241cbb911f08bc6ffa75bd.tar.gz
minetest-1cdf210e4f01b7221a241cbb911f08bc6ffa75bd.tar.bz2
minetest-1cdf210e4f01b7221a241cbb911f08bc6ffa75bd.zip
* possible fix for large cubic holes in map
Diffstat (limited to 'src')
-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