diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_parse_map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index f1df73d..c5df30e 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -109,6 +109,7 @@ void ft_get_nlvl_pos(&clist->mlist); ft_check_missing(clist); ft_set_minimap_scale(clist); - clist->currlvl += 1; + if (!clist->plist.isdead) + clist->currlvl += 1; close(fd); } |