aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_missing.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 17:38:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 17:38:10 +0100
commit67de2faea2b7cdf1d864ae5a89bb5314fbbf8c11 (patch)
treeff0bb1f78bd9c6a20de23f7be6c430356deb16a8 /src/ft_check_missing.c
parentSlowly drawing (diff)
download42-cub3d-67de2faea2b7cdf1d864ae5a89bb5314fbbf8c11.tar.gz
42-cub3d-67de2faea2b7cdf1d864ae5a89bb5314fbbf8c11.tar.bz2
42-cub3d-67de2faea2b7cdf1d864ae5a89bb5314fbbf8c11.tar.xz
42-cub3d-67de2faea2b7cdf1d864ae5a89bb5314fbbf8c11.tar.zst
42-cub3d-67de2faea2b7cdf1d864ae5a89bb5314fbbf8c11.zip
Added new sfx
Diffstat (limited to 'src/ft_check_missing.c')
-rw-r--r--src/ft_check_missing.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c
index 8619c9d..2681143 100644
--- a/src/ft_check_missing.c
+++ b/src/ft_check_missing.c
@@ -32,6 +32,9 @@ static int
if (ft_check_not_found(FT_SFX_TRAP_PATH) < 0 ||
ft_check_ext(FT_SFX_TRAP_PATH, ".wav") < 0)
return (ft_missing_error(FT_ERR_MISS_SFX_TRAP, clist));
+ if (ft_check_not_found(FT_SFX_HEAL_PATH) < 0 ||
+ ft_check_ext(FT_SFX_HEAL_PATH, ".wav") < 0)
+ return (ft_missing_error(FT_ERR_MISS_SFX_HEAL, clist));
if (ft_check_not_found(FT_SFX_W_ONE_LOAD_PATH) < 0 ||
ft_check_ext(FT_SFX_W_ONE_LOAD_PATH, ".wav") < 0)
return (ft_missing_error(FT_ERR_MISS_SFX_W_ONE_LOAD, clist));