aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-21 12:53:24 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-21 12:53:32 +0300
commitdf2c9b2b40bffd207f47445e8465f51a2e77e325 (patch)
treea96de3092c6e6ed81b7deff46257dd29683ac4af
parent3cf19b60cfdf860267a6c0eecebcb9d4fb8b7148 (diff)
downloadastar-df2c9b2b40bffd207f47445e8465f51a2e77e325.tar.xz
Remove outdated comment
-rw-r--r--map.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/map.c b/map.c
index 1f36626..70f4cc0 100644
--- a/map.c
+++ b/map.c
@@ -28,7 +28,6 @@ Map empty_map(size_t width, size_t height) {
}
/* Honestly, what a shitty fucking way to implement this */
-/* When we allow maps to have costs, these two neighbours functions will have to use the instead of COST_* defines */
/* TODO: maybe merge them, add `dirs` parameter, like we do in path.c? */
unsigned int neighbours_4dir(Position neighbour_array[4], size_t cost_array[4], Position pos, size_t width, size_t height, \
char **visited, size_t **costs) {