aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-07 22:26:28 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-07 22:26:28 +0100
commitcfc2ab3f0c94234a98be573af394b23868166f84 (patch)
treed39ed1364e3c9ceb669decc625f4aa2c145cba8b /src/ft_parse_map.c
parentDIVINE INTELLECT (diff)
download42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.gz
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.bz2
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.xz
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.tar.zst
42-cub3d-cfc2ab3f0c94234a98be573af394b23868166f84.zip
Got secret door bonus
Diffstat (limited to '')
-rw-r--r--src/ft_parse_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index 36d1ec5..38ce686 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -65,7 +65,7 @@ static int8_t
}
if (ft_ischarset("1 ", line[0]))
return ((ft_get_map_first_line(line, clist) < 0) ? (-1) : (12));
- if (!ft_ischarset("RNSEWFCLM", line[0])
+ if (!ft_ischarset("RNSEWFCLMD", line[0])
|| !(words = ft_split(line, ' ')))
return (ft_error_here(FT_ERR_ILL_ENTRY, line, clist));
if ((ret = ft_select_get(words, clist)) == 12)