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:
parent
a5c67d2eee
commit
6984a2b9e6
1 changed files with 0 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue