diff options
Diffstat (limited to 'src/ft_check_missing.c')
-rw-r--r-- | src/ft_check_missing.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c index 4b4a3ef..8619c9d 100644 --- a/src/ft_check_missing.c +++ b/src/ft_check_missing.c @@ -32,6 +32,18 @@ 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_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)); + if (ft_check_not_found(FT_SFX_W_ONE_FIRE_PATH) < 0 || + ft_check_ext(FT_SFX_W_ONE_FIRE_PATH, ".wav") < 0) + return (ft_missing_error(FT_ERR_MISS_SFX_W_ONE_FIRE, clist)); + if (ft_check_not_found(FT_SFX_W_TWO_LOAD_PATH) < 0 || + ft_check_ext(FT_SFX_W_TWO_LOAD_PATH, ".wav") < 0) + return (ft_missing_error(FT_ERR_MISS_SFX_W_TWO_LOAD, clist)); + 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)); return (0); } |