aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 15:00:24 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 15:00:24 +0100
commit61c649534bb5e951cd6c83527b9bb5eafa86cc25 (patch)
tree732ef752274b9d5e2fb7d7e8453e69b8cf0c6784 /src/ft_parse_map.c
parentFixed them maps (diff)
download42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.gz
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.bz2
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.xz
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.tar.zst
42-cub3d-61c649534bb5e951cd6c83527b9bb5eafa86cc25.zip
Removed map print
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r--src/ft_parse_map.c14
1 files changed, 0 insertions, 14 deletions
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);