diff options
author | Paramat <paramat@users.noreply.github.com> | 2019-08-06 02:30:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-06 02:30:28 +0100 |
commit | 8da35c22d1c8933090330b2f3c44b4cf2c6e6760 (patch) | |
tree | ff9ddd97d7cfd08c34603c7c13c4065934869396 /fonts/mono_dejavu_sans_220.png | |
parent | ac856b20bfc438ad05cda7649d68155f8b73462b (diff) | |
download | minetest-8da35c22d1c8933090330b2f3c44b4cf2c6e6760.tar.gz minetest-8da35c22d1c8933090330b2f3c44b4cf2c6e6760.tar.bz2 minetest-8da35c22d1c8933090330b2f3c44b4cf2c6e6760.zip |
Mapgen Flat: Fix and improve getSpawnLevelAtPoint() (#8756)
Previously, this wrongly returned ground level (a position containing
a solid node) as spawn level.
Return ground level + 2 (+ 2 to spawn above biome 'dust' nodes).
Improve codestyle and make more consistent with generateTerrain().
Diffstat (limited to 'fonts/mono_dejavu_sans_220.png')
0 files changed, 0 insertions, 0 deletions