diff options
author | paramat <paramat@users.noreply.github.com> | 2017-06-11 06:02:20 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-06-19 02:20:04 +0100 |
commit | ea4d407082dd120bb6b3b1e9c869e88f26b001b1 (patch) | |
tree | a1ca192ae4ef304e30e7638fd553b71b691baa0a /src/script/lua_api/l_server.cpp | |
parent | 8f2e60a9619f3db2dea752626e778f753c0714bc (diff) | |
download | minetest-ea4d407082dd120bb6b3b1e9c869e88f26b001b1.tar.gz minetest-ea4d407082dd120bb6b3b1e9c869e88f26b001b1.tar.bz2 minetest-ea4d407082dd120bb6b3b1e9c869e88f26b001b1.zip |
Mgv7 spawn search: Cope with extreme custom terrain and biome 'dust'
Previously, maximum spawn level was set to 'water_level + 16'. This would result
in spawn search failing if terrain had been customised to be much higher than
'water_level' at all points.
Also raise spawn level by 1 node to avoid spawning half-buried in a biome 'dust'
node such as 'default:snowblock'.
Diffstat (limited to 'src/script/lua_api/l_server.cpp')
0 files changed, 0 insertions, 0 deletions