aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 04:23:57 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 04:23:57 +0100
commit6714c479c5d9bcb025212de44ec92424458261d6 (patch)
tree73b7ebbaf1f40d36bb6d453826accd90188a5b10 /src/ft_init_lists.c
parentsounds (diff)
download42-cub3d-6714c479c5d9bcb025212de44ec92424458261d6.tar.gz
42-cub3d-6714c479c5d9bcb025212de44ec92424458261d6.tar.bz2
42-cub3d-6714c479c5d9bcb025212de44ec92424458261d6.tar.xz
42-cub3d-6714c479c5d9bcb025212de44ec92424458261d6.tar.zst
42-cub3d-6714c479c5d9bcb025212de44ec92424458261d6.zip
Huge bug on death
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r--src/ft_init_lists.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index a6484c2..af79b45 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -80,8 +80,7 @@ static int8_t
cl->rlist = ft_init_s_ray();
if (ft_init_sfx(&cl->sfx) < 0)
return (-1);
- ft_printf("%s\n", cl->sfx.death[0]);
- ft_printf("%s\n", cl->sfx.trap[0]);
+ cl->plist.isdead = 0;
cl->currlvl = 0;
cl->walltexgood = 0;
ft_init_funptr(cl);