From 338353777c95d23bb93066e53364b13f46b51964 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Tue, 21 Apr 2026 16:13:13 +0300 Subject: Remove a TODO --- path.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3