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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index b876e8d..dbf4e8f 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -90,7 +90,7 @@ 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)
+ if (ft_init_sfx(cl) < 0)
return (-1);
cl->currlvl = 0;
cl->walltexgood = 0;