diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 03:11:12 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 03:11:12 +0100 |
commit | a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf (patch) | |
tree | 4e7044b92a3e97a338aaf769fe2b55d63e69338b /src/ft_init_lists.c | |
parent | Removed beta minilibx make options (diff) | |
download | 42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.gz 42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.bz2 42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.xz 42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.zst 42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.zip |
sounds
Diffstat (limited to '')
-rw-r--r-- | src/ft_init_lists.c | 4 |
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); |