From 6834ffa31842ca249514854bac8bae0f0022f104 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Thu, 23 Apr 2026 14:29:15 +0300 Subject: Make wraparound toggleable with a keybind --- map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map.c') diff --git a/map.c b/map.c index 8868e11..005936f 100644 --- a/map.c +++ b/map.c @@ -715,7 +715,7 @@ void map_editor(Map *map, size_t *width, size_t *height, Position *start, Positi break; case 'd': - if (path_func == astar_path) { set_message("Dijkstra"); path_func = &dijkstra_path; } + if (path_func == astar_path) { set_message("Dijkstra's"); path_func = &dijkstra_path; } else { set_message("A*"); path_func = &astar_path; }; path_free(path, *height); if (should_pathfind) path = path_func(dirs, *map, NULL, *width, *height, *start, *goal, visited, 0); -- cgit v1.2.3