aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_missing_sfx.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 19:05:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 19:05:12 +0100
commit7fbd59391bee9d23543ce933e91312e75276db8a (patch)
tree268db5130a3a62ce706cd8e222b6e47a61f2edb8 /src/ft_check_missing_sfx.c
parentnew colors for font (diff)
download42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.gz
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.bz2
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.xz
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.tar.zst
42-cub3d-7fbd59391bee9d23543ce933e91312e75276db8a.zip
Now regimp and sound
Diffstat (limited to '')
-rw-r--r--src/ft_check_missing_sfx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ft_check_missing_sfx.c b/src/ft_check_missing_sfx.c
index f8a32b1..1273457 100644
--- a/src/ft_check_missing_sfx.c
+++ b/src/ft_check_missing_sfx.c
@@ -28,6 +28,12 @@ static int
if (ft_check_not_found(FT_SFX_W_TWO_FIRE_PATH) < 0 ||
ft_check_ext(FT_SFX_W_TWO_FIRE_PATH, ".wav") < 0)
return (ft_missing_error(FT_ERR_MISS_SFX_W_TWO_FIRE, clist));
+ if (ft_check_not_found(FT_SFX_W_THREE_LOAD_PATH) < 0 ||
+ ft_check_ext(FT_SFX_W_THREE_LOAD_PATH, ".wav") < 0)
+ return (ft_missing_error(FT_ERR_MISS_SFX_W_THREE_LOAD, clist));
+ if (ft_check_not_found(FT_SFX_W_THREE_FIRE_PATH) < 0 ||
+ ft_check_ext(FT_SFX_W_THREE_FIRE_PATH, ".wav") < 0)
+ return (ft_missing_error(FT_ERR_MISS_SFX_W_THREE_FIRE, clist));
return (0);
}