aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_map_line.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_check_map_line.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 'src/ft_check_map_line.c')
-rw-r--r--src/ft_check_map_line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_check_map_line.c b/src/ft_check_map_line.c
index 7b9b545..213d75c 100644
--- a/src/ft_check_map_line.c
+++ b/src/ft_check_map_line.c
@@ -18,7 +18,7 @@
static int8_t
ft_first_checks(char *line, size_t i, t_cub *clist)
{
- if (!ft_ischarset("012NSEWL ", line[i]))
+ if (!ft_ischarset("012NSEWLD ", line[i]))
{
ft_sprintf(clist->errmsg, FT_ERR_ILL_MAP);
return (-1);