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 8145c01..e27723b 100644
--- a/path.c
+++ b/path.c
@@ -18,7 +18,7 @@ int anim(Map map, size_t width, size_t height, Position start, Position end, Pos
static char automatic = 0;
while (1) {
draw_map(map, width, height, start, end, cur, NULL, visited, frontier);
- mvprintw(height+2 + map_offset_y - 1, map_offset_x - 2, "cur: %zu %zu", cur->x, cur->y);
+ message(height, "cur: %zu %zu", cur->x, cur->y);
if (automatic) { usleep(ANIM_DELAY_USEC); return 0; }
switch (getch()) {
case 'h': map_offset_x -= 2; break;