1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 23:44:38 +00:00

remove incorrect optimization attempt in pathfinder

This commit is contained in:
mat 2025-07-02 20:45:33 +00:00
commit 6984a2b9e6

View file

@ -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) {