diff options
Diffstat (limited to 'src/ft_check_missing.c')
-rw-r--r-- | src/ft_check_missing.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c index 617e8f5..a17bdea 100644 --- a/src/ft_check_missing.c +++ b/src/ft_check_missing.c @@ -82,6 +82,9 @@ static int return (ft_missing_error(FT_ERR_MISS_NLVL_PATH, clist)); if (clist->mlist.istraps && !clist->mlist.traps_path[0]) return (ft_missing_error(FT_ERR_MISS_TRAP, clist)); + if (ft_check_not_found(FT_DEATH_SCREEN_PATH) < 0 || + ft_check_ext(FT_DEATH_SCREEN_PATH, ".xpm") < 0) + return (ft_missing_error(FT_ERR_MISS_DEATH_SCREEN, clist)); return (ft_check_missing_sprites(clist)); } |