aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2018-02-12 00:52:44 +0000
committerparamat <mat.gregory@virginmedia.com>2018-02-13 03:48:39 +0000
commit861cfd848473db6c36b0debb7152d98ca8017062 (patch)
tree3a46ec477b361010b43b361bc9910c8b57dbc2be /src/gui
parent1156088db740fed69051201fb943feaff3b4f678 (diff)
downloadminetest-861cfd848473db6c36b0debb7152d98ca8017062.tar.gz
minetest-861cfd848473db6c36b0debb7152d98ca8017062.tar.bz2
minetest-861cfd848473db6c36b0debb7152d98ca8017062.zip
Dungeons: Avoid generation in multiple liquid nodes and 'airlike'
Previously only 'mapgen water source' and 'mapgen river water source' were checked for. Games can use multiple liquid nodes defined for biomes, many of which will not be aliased to those 2 mapgen aliases, causing floating dungeons to generate in some liquids. Now we check for liquid drawtype instead, so can remove liquid nodes from dungeonparams. Also check for 'airlike' drawtype instead of 'CONTENT_AIR' to avoid generation in 'airlike' nodes in some rare situations. This will also be needed for when we add definable biome air nodes.
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions