mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
No biomes near cave entrance
This commit is contained in:
parent
b40095d867
commit
af10a3e6da
@ -173,7 +173,7 @@ impl Tunnel {
|
||||
.mul(0.5)
|
||||
.add(0.5) as f32;
|
||||
|
||||
let underground = ((col.alt as f32 - wpos.z as f32) / 80.0).clamped(0.0, 1.0);
|
||||
let underground = ((col.alt as f32 - wpos.z as f32) / 80.0 - 1.0).clamped(0.0, 1.0);
|
||||
|
||||
let [_, mushroom, fire, leafy, dusty] = {
|
||||
let barren = 0.01;
|
||||
|
Loading…
Reference in New Issue
Block a user