Skip to content

Commit 8638932

Browse files
authoredJun 19, 2018
Biome dust: Revert fix that added dust to mod structures (#7464)
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.
1 parent ca502fc commit 8638932

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed
 

Diff for: ‎src/mapgen/mapgen.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -763,16 +763,6 @@ void MapgenBasic::generateBiomes()
763763

764764
VoxelArea::add_y(em, vi, -1);
765765
}
766-
// If no stone surface was detected in this mapchunk column the biomemap
767-
// will be empty for this (x, z) position. Add the currently active
768-
// biome to the biomemap, or if biome is NULL calculate it for this
769-
// position and add it.
770-
if (biomemap[index] == BIOME_NONE) {
771-
if (!biome)
772-
biome = biomegen->getBiomeAtIndex(
773-
index, v3s16(x, node_min.Y, z));
774-
biomemap[index] = biome->index;
775-
}
776766
}
777767
}
778768

0 commit comments

Comments
 (0)
Please sign in to comment.