aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea/src/pathfinder/astar.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/azalea/src/pathfinder/astar.rs b/azalea/src/pathfinder/astar.rs
index 71e0b9ef..15ae7020 100644
--- a/azalea/src/pathfinder/astar.rs
+++ b/azalea/src/pathfinder/astar.rs
@@ -91,10 +91,6 @@ where
let neighbor_heuristic;
let neighbor_index;
- // skip neighbors that don't result in a big enough improvement
- if tentative_g_score - g_score < MIN_IMPROVEMENT {
- continue;
- }
num_movements += 1;
match nodes.entry(neighbor.movement.target) {