mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
* possible fix for large cubic holes in map
This commit is contained in:
parent
b96450b586
commit
5383aa847f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user