Pathfinding Improvements: Improve 5-10-5 Diagonal Handling (#170)

This commit is contained in:
Jonathan Calvert
2022-02-28 22:08:56 +00:00
committed by GitHub
parent 54cee52eb2
commit bbfce2bb77
3 changed files with 25 additions and 30 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ export class PriorityQueueSet {
inserted = true;
previous = current;
current = current.next
current = current.next;
break;
}
previous = current;
@@ -56,7 +56,7 @@ export class PriorityQueueSet {
if (previous) {
previous.next = current.next;
} else {
this.first = current.next
this.first = current.next;
}
return;
}