aboutsummaryrefslogtreecommitdiff
path: root/path.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-27 00:44:24 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-27 00:44:46 +0300
commitd6521fb188228caa7b05dec6d417acdb98a8a47e (patch)
tree46be44af74373e551374b50e3f1b2934b19c88fe /path.c
parentcdeb022ba7bc1c93ef7cceed5fdcc4002ca75e51 (diff)
downloadastar-d6521fb188228caa7b05dec6d417acdb98a8a47e.tar.xz
Remove a FIXMEHEADmaster
Diffstat (limited to 'path.c')
-rw-r--r--path.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/path.c b/path.c
index f604ec1..a571963 100644
--- a/path.c
+++ b/path.c
@@ -284,7 +284,6 @@ Path astar_path(int dirs, Map map, size_t **cell_costs, size_t width, size_t hei
}
-/* FIXME: I feel like there's a better way to do this, but not sure */
size_t manhattan_distance(Position a, Position b) {
size_t d = 0;
if (a.x > b.x) {