aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 20:59:02 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 20:59:02 +0100
commitf63e12e2f7aca68d867e362223804afdc987af73 (patch)
tree9a3c02963378f55982d590a78831017067c094c3 /src/ft_init_lists.c
parentStarting sfx rework (diff)
download42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.gz
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.bz2
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.xz
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.tar.zst
42-cub3d-f63e12e2f7aca68d867e362223804afdc987af73.zip
Rework in progress
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;