Merge branch 'MHK/Tiny_fixe_in_settlement_generation' into 'master'

Deleting extra grasses on the air

See merge request veloren/veloren!2928
This commit is contained in:
Samuel Keiffer 2021-10-15 16:40:26 +00:00
commit f2d921c6b8

View File

@ -736,7 +736,7 @@ impl Settlement {
{
let diff = (surface_z - land_surface_z).abs();
for z in -8 - diff..4 + diff {
for z in -8 - diff..8 + diff {
let pos = Vec3::new(offs.x, offs.y, surface_z + z);
let block = if let Ok(&block) = vol.get(pos) {
// TODO: Figure out whether extra filters are needed.