diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-07 22:34:38 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-07 22:34:38 +0100 |
commit | 684c8a8d416fafec52b5dcba81453789b53b8391 (patch) | |
tree | 653145d30484a075b93c666273296e7c90b3a825 /src/ft_parse_map.c | |
parent | Got secret door bonus (diff) | |
download | 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.gz 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.bz2 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.xz 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.tar.zst 42-cub3d-684c8a8d416fafec52b5dcba81453789b53b8391.zip |
defines are bav
Diffstat (limited to 'src/ft_parse_map.c')
-rw-r--r-- | src/ft_parse_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index 38ce686..8878719 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("RNSEWFCLMD", line[0]) + if (!ft_ischarset(FT_CHRST_VALID_PARSE, line[0]) || !(words = ft_split(line, ' '))) return (ft_error_here(FT_ERR_ILL_ENTRY, line, clist)); if ((ret = ft_select_get(words, clist)) == 12) |