aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-24 15:59:37 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-24 15:59:37 +0300
commit19a2258299789ba672ce650a56436199c012384d (patch)
treed931447400f065b8957701bd5583d2ade4777678
parentc75402d182e9ab1b8af846af9f7348c9431b5e66 (diff)
downloadastar-19a2258299789ba672ce650a56436199c012384d.tar.xz
Remove an unnecessary line of code
-rw-r--r--map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/map.c b/map.c
index 5940d02..b067475 100644
--- a/map.c
+++ b/map.c
@@ -624,9 +624,8 @@ void map_editor(Map *map, size_t *width, size_t *height, Position *start, Positi
char **visited = NULL;
Path path = NULL;
- draw_map(*map, NULL, *width, *height, *start, *goal, NULL, path, visited, NULL);
set_message("You've entered the map editor. 'q' to quit");
- print_message(*height);
+ draw_map(*map, NULL, *width, *height, *start, *goal, NULL, path, visited, NULL);
MEVENT event;
mmask_t oldmask;