Randomwalk caves: Reduce 'insure' value from 10 to 2 (#9035)
authorParamat <paramat@users.noreply.github.com>
Sat, 12 Oct 2019 23:18:23 +0000 (00:18 +0100)
committerGitHub <noreply@github.com>
Sat, 12 Oct 2019 23:18:23 +0000 (00:18 +0100)
commit47d07793654c1bdd92afbcb486e1ff1429f29a8f
treefd124d210d81ac87ac05e5a7a98b84da9dba2611
parent69a2099c04527404f2d0942f2088b3d22dd75b5a
Randomwalk caves: Reduce 'insure' value from 10 to 2 (#9035)

This value reduces how far randomwalk caves can extend into the
mapchunk padding, to avoid 'out of voxelmanip' cave nodes which cause
flattened cave walls.
Testing shows that a value of 2 (instead of 10) is enough to make
'out of area' nodes extremely rare.
Reducing this value results in a higher chance of overlap and
connection with caves of neighbour mapchunks.
src/mapgen/cavegen.cpp