diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-29 03:44:37 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-29 03:44:37 +0300 |
commit | 75821c6889378ff7eba7cddac28acab1537ed934 (patch) | |
tree | 09bad70743edb4e81ca19033e1425c811d7f6f0a /src/farmesh.cpp | |
parent | d376148ca1ca05d80936641b22459a3ebbe0a901 (diff) | |
download | minetest-75821c6889378ff7eba7cddac28acab1537ed934.tar.gz minetest-75821c6889378ff7eba7cddac28acab1537ed934.tar.bz2 minetest-75821c6889378ff7eba7cddac28acab1537ed934.zip |
Generate beaches
Diffstat (limited to 'src/farmesh.cpp')
-rw-r--r-- | src/farmesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/farmesh.cpp b/src/farmesh.cpp index 836d9bd87..2b36feb4a 100644 --- a/src/farmesh.cpp +++ b/src/farmesh.cpp @@ -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 |