diff options
author | Paramat <paramat@users.noreply.github.com> | 2018-06-19 22:09:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-19 22:09:42 +0100 |
commit | 86389329eba19231129ad14456aa3f689332fbb3 (patch) | |
tree | 4ad4295fa27fb35a7f5ad4ef17ed826f5d164bad /src/mapgen/mapgen.cpp | |
parent | ca502fc274c640f1e301a77ecb336ab5a23d348d (diff) | |
download | minetest-86389329eba19231129ad14456aa3f689332fbb3.tar.gz minetest-86389329eba19231129ad14456aa3f689332fbb3.tar.bz2 minetest-86389329eba19231129ad14456aa3f689332fbb3.zip |
Biome dust: Revert fix that added dust to mod structures (#7464)
Revert commit 99143f494711034068685b6ee845ce19fa09d7d9 and commit
f4ca830abe1aa22875c99b31bf2ee56e26f83f05.
These commits caused biome dust to be applied even when there was no core
mapgen terrain in a mapchunk column. So the dust, which overgenerates,
then appeared on structures added by mods in 'on_generated', such as
floatlands, asteroids or above-surface realms.
Diffstat (limited to 'src/mapgen/mapgen.cpp')
-rw-r--r-- | src/mapgen/mapgen.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mapgen/mapgen.cpp b/src/mapgen/mapgen.cpp index 360afd897..85aab363b 100644 --- a/src/mapgen/mapgen.cpp +++ b/src/mapgen/mapgen.cpp @@ -763,16 +763,6 @@ void MapgenBasic::generateBiomes() VoxelArea::add_y(em, vi, -1); } - // If no stone surface was detected in this mapchunk column the biomemap - // will be empty for this (x, z) position. Add the currently active - // biome to the biomemap, or if biome is NULL calculate it for this - // position and add it. - if (biomemap[index] == BIOME_NONE) { - if (!biome) - biome = biomegen->getBiomeAtIndex( - index, v3s16(x, node_min.Y, z)); - biomemap[index] = biome->index; - } } } |