aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_missing_defines.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_check_missing_defines.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ft_check_missing_defines.c b/src/ft_check_missing_defines.c
index 2e365b8..d5d56b9 100644
--- a/src/ft_check_missing_defines.c
+++ b/src/ft_check_missing_defines.c
@@ -57,11 +57,17 @@ int
if (ft_check_not_found(FT_WEAPON_TWO_PATH) < 0 ||
ft_check_ext(FT_WEAPON_TWO_PATH, ".xpm") < 0)
return (ft_missing_error(FT_ERR_MISS_W_TWO, clist));
+ if (ft_check_not_found(FT_WEAPON_THREE_PATH) < 0 ||
+ ft_check_ext(FT_WEAPON_THREE_PATH, ".xpm") < 0)
+ return (ft_missing_error(FT_ERR_MISS_W_THREE, clist));
if (ft_check_not_found(FT_WEAPON_ONE_FIRE_PATH) < 0 ||
ft_check_ext(FT_WEAPON_ONE_FIRE_PATH, ".xpm") < 0)
return (ft_missing_error(FT_ERR_MISS_W_ONE_FIRE, clist));
if (ft_check_not_found(FT_WEAPON_TWO_FIRE_PATH) < 0 ||
ft_check_ext(FT_WEAPON_TWO_FIRE_PATH, ".xpm") < 0)
return (ft_missing_error(FT_ERR_MISS_W_TWO_FIRE, clist));
+ if (ft_check_not_found(FT_WEAPON_THREE_FIRE_PATH) < 0 ||
+ ft_check_ext(FT_WEAPON_THREE_FIRE_PATH, ".xpm") < 0)
+ return (ft_missing_error(FT_ERR_MISS_W_THREE_FIRE, clist));
return (ft_check_missing_number_defines(clist));
}