From 1cdf210e4f01b7221a241cbb911f08bc6ffa75bd Mon Sep 17 00:00:00 2001
From: Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Date: Wed, 13 Jul 2011 23:12:18 +0200
Subject: [PATCH] * possible fix for large cubic holes in map

---
 src/mapgen.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
GitLab