aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_missing_sfx.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 16:49:30 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 16:49:30 +0100
commit314a8e07226d1f4c9d9537371963c233d781ac08 (patch)
treea23ef16ba76449f0742d73b10513464c64bcc0ea /src/ft_check_missing_sfx.c
parentStuff to fix but ok (diff)
download42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.gz
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.bz2
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.xz
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.zst
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.zip
sfx: good
Diffstat (limited to 'src/ft_check_missing_sfx.c')
-rw-r--r--src/ft_check_missing_sfx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ft_check_missing_sfx.c b/src/ft_check_missing_sfx.c
index 1273457..34d08e2 100644
--- a/src/ft_check_missing_sfx.c
+++ b/src/ft_check_missing_sfx.c
@@ -34,6 +34,9 @@ static int
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));
+ if (ft_check_not_found(FT_SFX_OOA_PATH) < 0 ||
+ ft_check_ext(FT_SFX_OOA_PATH, ".wav") < 0)
+ return (ft_missing_error(FT_ERR_MISS_SFX_OOA, clist));
return (0);
}