aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 01:13:23 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 01:13:23 +0100
commit47c6c125c7095bae50188376d8d8d10fe8b2b1c8 (patch)
tree5d4554ed336a70e0ca8e9d62ed764ff131a59330 /src/ft_parse_map.c
parentRemoved footsteps, in progress (diff)
download42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.gz
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.bz2
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.xz
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.tar.zst
42-cub3d-47c6c125c7095bae50188376d8d8d10fe8b2b1c8.zip
Better than nothing
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r--src/ft_parse_map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index c5df30e..f1df73d 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -109,7 +109,6 @@ void
ft_get_nlvl_pos(&clist->mlist);
ft_check_missing(clist);
ft_set_minimap_scale(clist);
- if (!clist->plist.isdead)
- clist->currlvl += 1;
+ clist->currlvl += 1;
close(fd);
}