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:
Joshua Yanovski 2022-07-17 06:33:04 +00:00
commit 2f42a7b011

View File

@ -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());
} } */
} }