diff --git a/crates/graphics/src/collision/mod.rs b/crates/graphics/src/collision/mod.rs index 99d9ea05..32ef7afb 100644 --- a/crates/graphics/src/collision/mod.rs +++ b/crates/graphics/src/collision/mod.rs @@ -126,7 +126,7 @@ pub fn calculate_passage(layers: impl Iterator at_least_one_layer_not_blank = true; } } - if passage & direction != 0 || passage & 0xf == 0xf { + if passage & direction != 0 { computed_passage |= direction; break; } else if priority == 0 {