Merge branch 'imbris/some-tweaks' into 'master'

Add comment on tuple bool field meaning in pathing

Closes #758

See merge request veloren/veloren!2778
This commit is contained in:
Imbris 2021-08-21 16:56:01 +00:00
commit 2c3b484567

View File

@ -326,6 +326,7 @@ impl Route {
#[derive(Default, Clone, Debug)]
pub struct Chaser {
last_search_tgt: Option<Vec3<f32>>,
/// `bool` indicates whether the Route is a complete route to the target
route: Option<(Route, bool)>,
/// We use this hasher (AAHasher) because:
/// (1) we care about DDOS attacks (ruling out FxHash);