mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
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:
commit
f2d921c6b8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user