diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,7 +134,7 @@ int main(int argc, char **argv) { if (!bmp_only) { init_ncurses(); - draw_map(map, width, height, start_pos, end_pos, NULL, NULL, NULL, NULL); + draw_map(map, NULL, width, height, start_pos, end_pos, NULL, NULL, NULL, NULL); wrefresh(stdscr); } @@ -153,7 +153,7 @@ int main(int argc, char **argv) { #endif while (1) { - draw_map(map, width, height, start_pos, end_pos, NULL, path, visited, NULL); + draw_map(map, cell_costs, width, height, start_pos, end_pos, NULL, path, visited, NULL); int c = getch(); switch (c) { case 'h': map_offset_x += 2; break; |
