mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed cliff generation layer bug
This commit is contained in:
parent
59e6febb41
commit
b1d4ae7445
@ -445,7 +445,7 @@ impl<'a> ZCache<'a> {
|
||||
}
|
||||
});
|
||||
|
||||
let ground_max = (self.sample.alt + 4.0 + warp + rocks).max(cliff);
|
||||
let ground_max = (self.sample.alt + warp + rocks).max(cliff) + 2.0;
|
||||
|
||||
let min = min + structure_min;
|
||||
let max = (ground_max + structure_max)
|
||||
|
Loading…
Reference in New Issue
Block a user