Mgv7 spawn search: Cope with extreme custom terrain and biome 'dust'
authorparamat <paramat@users.noreply.github.com>
Sun, 11 Jun 2017 05:02:20 +0000 (06:02 +0100)
committerparamat <mat.gregory@virginmedia.com>
Mon, 19 Jun 2017 01:20:04 +0000 (02:20 +0100)
commitea4d407082dd120bb6b3b1e9c869e88f26b001b1
treea1ca192ae4ef304e30e7638fd553b71b691baa0a
parent8f2e60a9619f3db2dea752626e778f753c0714bc
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'.
src/mapgen_v7.cpp