diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-09 15:00:25 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-09 15:00:25 +0100 |
commit | 7a26634744e67c48eda6e7eb23241b9d37c62b5d (patch) | |
tree | 01ead6cd3f4d8edad1c854e9aade31b981ff7caa /src/ft_select_get.c | |
parent | Good parse (diff) | |
download | 42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.gz 42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.bz2 42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.xz 42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.tar.zst 42-cub3d-7a26634744e67c48eda6e7eb23241b9d37c62b5d.zip |
Preparing to parse the darkness
Diffstat (limited to '')
-rw-r--r-- | src/ft_select_get.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c index f4673c0..64ba14b 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -60,7 +60,7 @@ static int8_t ft_get_id(char **words, t_cub *clist) { int8_t ret; - char ref[12][3]; + char ref[13][3]; ft_sprintf(ref[0], "R"); ft_sprintf(ref[1], "NO"); @@ -73,7 +73,8 @@ static int8_t ft_sprintf(ref[8], "L"); ft_sprintf(ref[9], "LT"); ft_sprintf(ref[10], "MU"); - ft_bzero(ref[11], 3); + ft_sprintf(ref[11], "SH"); + ft_bzero(ref[12], 3); if (words[0][0] == ' ' || words[0][0] == '1') return (FT_PARSE_END_RET); ret = 0; |