aboutsummaryrefslogtreecommitdiff
path: root/src/metadata.cpp
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-08-06 02:30:28 +0100
committerGitHub <noreply@github.com>2019-08-06 02:30:28 +0100
commit8da35c22d1c8933090330b2f3c44b4cf2c6e6760 (patch)
treeff9ddd97d7cfd08c34603c7c13c4065934869396 /src/metadata.cpp
parentac856b20bfc438ad05cda7649d68155f8b73462b (diff)
downloadminetest-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 'src/metadata.cpp')
0 files changed, 0 insertions, 0 deletions