mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Generate beaches
This commit is contained in:
parent
d376148ca1
commit
75821c6889
3 changed files with 13 additions and 10 deletions
|
@ -125,7 +125,7 @@ HeightPoint ground_height(u64 seed, v2s16 p2d)
|
|||
hp.ma = (4)*BS;
|
||||
/*hp.gh = BS*base_rock_level_2d(seed, p2d);
|
||||
hp.ma = BS*get_mud_add_amount(seed, p2d);*/
|
||||
hp.have_sand = mapgen::get_have_sand(seed, p2d);
|
||||
hp.have_sand = mapgen::get_have_beach(seed, p2d);
|
||||
if(hp.gh > BS*WATER_LEVEL)
|
||||
hp.tree_amount = mapgen::tree_amount_2d(seed, p2d);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue