diff --git a/Algorithm/PathFinding/JumpPointSearch.php b/Algorithm/PathFinding/JumpPointSearch.php index a73fb9849..7ad67b889 100644 --- a/Algorithm/PathFinding/JumpPointSearch.php +++ b/Algorithm/PathFinding/JumpPointSearch.php @@ -92,10 +92,6 @@ class JumpPointSearch implements PathFinderInterface */ public static function identifySuccessors(JumpPointNode $node, Grid $grid, int $heuristic, int $movement, JumpPointNode $endNode, Heap $openList) : Heap { - if ($node->getY() === 5) { - $a = 1; - } - $neighbors = self::findNeighbors($node, $movement, $grid); $neighborsLength = \count($neighbors); @@ -106,10 +102,6 @@ class JumpPointSearch implements PathFinderInterface continue; } - if ($neighbor->getX() === 2) { - $a = 1; - } - $jumpPoint = self::jump($neighbor, $node, $endNode, $movement, $grid); if ($jumpPoint === null || $jumpPoint->isClosed()) {