diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-26 12:54:15 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-26 12:54:15 +0300 |
| commit | 492ed6b629d5f1e22fd53f2f44b911d0a45d01f7 (patch) | |
| tree | ef0e0e0faa84e64d4560d400bff89b76bee75474 /path.c | |
| parent | 056ffbf79ff554d7338b0234a2e69b66eb799da1 (diff) | |
| download | astar-492ed6b629d5f1e22fd53f2f44b911d0a45d01f7.tar.xz | |
Add cost_array into neighbours_8dir()
Diffstat (limited to 'path.c')
| -rw-r--r-- | path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ Path breadth_first_search_path_8dir(Map map, size_t width, size_t height, Positi } Position na[8]; - unsigned int nc = neighbours_8dir(na, cur, width, height, visited); + unsigned int nc = neighbours_8dir(na, NULL, cur, width, height, visited); for (unsigned int i = 0; i < nc; i++) { /* The Russian constitution doesn't allow walking on walls */ |
