From 61c649534bb5e951cd6c83527b9bb5eafa86cc25 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 15:00:24 +0100 Subject: Removed map print --- src/ft_parse_map.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/ft_parse_map.c') diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index 2d5590e..3d19fdc 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -82,19 +82,6 @@ static void ft_exit(FT_RET_NO_MAP, clist); } -static void - ft_print_map(t_map *ml) -{ - size_t i; - - i = 0; - while (ml->map[i]) - { - ft_printf("[%s]\n", ml->map[i]); - i++; - } -} - void ft_parse_map(const char *map_path, t_cub *clist) { @@ -115,7 +102,6 @@ void ft_map_error(clist->errmsg, clist); ft_check_map_last_line(clist); ft_check_map_surrounds(&clist->mlist, clist); - ft_print_map(&clist->mlist); ft_get_player_spawn(&clist->plist, clist); ft_get_nlvl_pos(&clist->mlist); ft_check_missing(clist); -- cgit v1.2.3