diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_parse_map.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index 79c00d2..785a816 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -109,6 +109,17 @@ void ft_get_nlvl_pos(&clist->mlist); ft_check_missing(clist); ft_set_minimap_scale(clist); - clist->currlvl += 1; + clist->currlvl += (clist->isdead == 0) ? (1) : (0); close(fd); + + + /* ====== MAP PRINT ====== */ + fd = 0; + ft_printf("=====================\n"); + while (clist->mlist.map[fd]) + { + ft_printf("[%s]\n", clist->mlist.map[fd]); + fd++; + } + ft_printf("\n\n"); } |