Dungeons: Do not remove nodes that have 'is_ground_content = false' (#8423)
authorParamat <paramat@users.noreply.github.com>
Tue, 26 Mar 2019 03:56:57 +0000 (03:56 +0000)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2019 03:56:57 +0000 (03:56 +0000)
commit5e7662ca168b47ed3e81901d53bff2eb712f571c
treeff3067fc445aa13919426896f1c17905c536ffea
parentd0a1a29ab36196a73d5454f8de368ddbf8f957e4
Dungeons: Do not remove nodes that have 'is_ground_content = false' (#8423)

Like randomwalk caves, preserve nodes that have 'is_ground_content = false',
to avoid dungeons that generate out beyond the edge of a mapchunk destroying
nodes added by mods in 'register_on_generated()'.

Issue discovered by, and original PR by, argyle77.
doc/lua_api.txt
src/mapgen/dungeongen.cpp