mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'sharp/caves-hotfix' into 'master'
Temporarily remove waypoints in caves as people are getting stuck. See merge request veloren/veloren!3482
This commit is contained in:
commit
2f42a7b011
@ -940,8 +940,9 @@ fn apply_entity_spawns<R: Rng>(canvas: &mut Canvas, wpos: Vec3<i32>, biome: &Bio
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Occasionally place down a waypoint
|
// FIXME: Add back waypoints once caves are not impossible to escape.
|
||||||
|
/* // Occasionally place down a waypoint
|
||||||
if RandomField::new(canvas.info().index().seed).chance(wpos, 0.000005) {
|
if RandomField::new(canvas.info().index().seed).chance(wpos, 0.000005) {
|
||||||
canvas.spawn(EntityInfo::at(wpos.map(|e| e as f32)).into_waypoint());
|
canvas.spawn(EntityInfo::at(wpos.map(|e| e as f32)).into_waypoint());
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user