summaryrefslogtreecommitdiff
path: root/src/script/common/c_content.h
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-06-21 19:28:54 +0100
committerGitHub <noreply@github.com>2018-06-21 19:28:54 +0100
commit8d3190e77a9d13bf0bca3ecdf40a788ce1d39d58 (patch)
treef6ed139f4fcb18c736f4c8baee84747599848996 /src/script/common/c_content.h
parent525fa9145e0183c01ae05aeace967fbfe78f65a5 (diff)
downloadminetest-8d3190e77a9d13bf0bca3ecdf40a788ce1d39d58.tar.gz
minetest-8d3190e77a9d13bf0bca3ecdf40a788ce1d39d58.tar.bz2
minetest-8d3190e77a9d13bf0bca3ecdf40a788ce1d39d58.zip
Biome API: Fix absent water decorations and dust, in deep water (#7470)
Previously, the biomemap was 'BIOME_NONE' for a mapchunk column if a stone surface was not found in it, causing water surface decorations and water surface dust to fail. Store the biome ID of the biome calculated at a water surface and add it to the biomemap if the biomemap is 'BIOME_NONE' for the mapchunk column. The biome calculated at a stone surface still has priority for the biomemap entry, as it should. Edit an incorrect comment.
Diffstat (limited to 'src/script/common/c_content.h')
0 files changed, 0 insertions, 0 deletions