mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
* possible fix for large cubic holes in map
This commit is contained in:
parent
b96450b586
commit
5383aa847f
@ -1318,6 +1318,7 @@ void make_block(BlockMakeData *data)
|
|||||||
// 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