aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r--src/ft_init_lists.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index d480912..a6484c2 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -78,6 +78,10 @@ static int8_t
cl->f_rgb = ft_init_rgb();
cl->c_rgb = ft_init_rgb();
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->currlvl = 0;
cl->walltexgood = 0;
ft_init_funptr(cl);