* possible fix for large cubic holes in map

master
Nils Dagsson Moskopp 2011-07-13 23:12:18 +02:00
parent b0ad5ce8e2
commit 1cdf210e4f
1 changed files with 3 additions and 1 deletions

View File

@ -1317,7 +1317,8 @@ void make_block(BlockMakeData *data)
data->seed, v2s16(blockpos.X, blockpos.Z), 1); data->seed, v2s16(blockpos.X, blockpos.Z), 1);
// Maximum amount of ground above the bottom of the central block // Maximum amount of ground above the bottom of the central block
s16 maximum_ground_depth = maximum_groundlevel - node_min.Y; s16 maximum_ground_depth = maximum_groundlevel - node_min.Y;
#if 0
/* /*
Special case for high air or water: Just fill with air and water. 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 // We're done
return; return;
} }
#endif
/* /*
If block is deep underground, this is set to true and ground If block is deep underground, this is set to true and ground