aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_sfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_init_sfx.c')
-rw-r--r--src/ft_init_sfx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_init_sfx.c b/src/ft_init_sfx.c
index 1452b5c..2aed165 100644
--- a/src/ft_init_sfx.c
+++ b/src/ft_init_sfx.c
@@ -41,7 +41,9 @@ int8_t
ft_init_sfx(t_sfx *sfx)
{
if (ft_split_sfx(&sfx->death, FT_SFX_DEATH_PATH) < 0 ||
- ft_split_sfx(&sfx->trap, FT_SFX_TRAP_PATH) < 0)
+ ft_split_sfx(&sfx->trap, FT_SFX_TRAP_PATH) < 0 ||
+ ft_split_sfx(&sfx->pain_one, FT_SFX_SCR_ONE_PATH) < 0 ||
+ ft_split_sfx(&sfx->pain_two, FT_SFX_SCR_TWO_PATH) < 0)
return (-1);
return (0);
}