Skip to content

Commit

Permalink
Biome dust: Revert fix that added dust to mod structures (#7464)
Browse files Browse the repository at this point in the history
Revert commit 99143f4 and commit
f4ca830.

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.
  • Loading branch information
paramat committed Jun 19, 2018
1 parent ca502fc commit 8638932
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/mapgen/mapgen.cpp
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit 8638932

Please sign in to comment.