aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--path.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/path.c b/path.c
index 415d0af..dc31f18 100644
--- a/path.c
+++ b/path.c
@@ -209,7 +209,6 @@ Path astar_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t hei
/* The heuristic function */
size_t (*heuristic)(Position, Position) = NULL;
- /* TODO: maybe a sort of a demo with different heuristics would be cool idk */
switch (dirs) {
case 4: neighbours = &neighbours_4dir; heuristic = &manhattan_distance; break;
case 8: neighbours = &neighbours_8dir; heuristic = &diagonal_distance; break;