aboutsummaryrefslogtreecommitdiff
path: root/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'path.c')
-rw-r--r--path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/path.c b/path.c
index 4b791c2..52f7291 100644
--- a/path.c
+++ b/path.c
@@ -20,7 +20,7 @@ char anim_automatic = 0;
/* TODO: figure out input when automatic = 1. timeout() seems useful */
int anim(Map map, size_t width, size_t height, Position start, Position end, Position *cur, char **visited, PositionPQ *frontier) {
while (1) {
- draw_map(map, width, height, start, end, cur, NULL, visited, frontier);
+ draw_map(map, NULL, width, height, start, end, cur, NULL, visited, frontier);
set_message("cur: %zu %zu", cur->x, cur->y); print_message(height);
if (anim_automatic) { wrefresh(stdscr); usleep(ANIM_DELAY_USEC); return 0; }
switch (getch()) {