aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_missing.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 02:35:49 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 02:35:49 +0100
commit8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7 (patch)
tree026b97aaa56ac87328d1fa7332872e86b1b15d32 /src/ft_check_missing.c
parentAdded sound effects files (diff)
download42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.gz
42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.bz2
42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.xz
42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.tar.zst
42-cub3d-8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7.zip
Freed leaks
Diffstat (limited to 'src/ft_check_missing.c')
-rw-r--r--src/ft_check_missing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c
index e349d05..1e89781 100644
--- a/src/ft_check_missing.c
+++ b/src/ft_check_missing.c
@@ -27,7 +27,7 @@ static int
ft_check_missing_sfx(t_cub *clist)
{
if (ft_check_not_found(FT_SFX_DEATH_PATH) < 0)
- return (ft_missing_error(FT_MISS_SFX_DEATH, clist));
+ return (ft_missing_error(FT_ERR_MISS_SFX_DEATH, clist));
if (ft_check_not_found(FT_SFX_FS_ONE_PATH) < 0)
return (ft_missing_error(FT_ERR_MISS_SFX_FS_ONE, clist));
if (ft_check_not_found(FT_SFX_FS_TWO_PATH) < 0)