diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-09 20:28:38 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-09 20:28:38 +0100 |
commit | 90c93c385af0fbe3c279b805dc64b84910075231 (patch) | |
tree | b0d466a85fc668dd4ca6639d40cfd775611ccbb8 /src | |
parent | Norme is pretty bav (diff) | |
download | 42-cub3d-90c93c385af0fbe3c279b805dc64b84910075231.tar.gz 42-cub3d-90c93c385af0fbe3c279b805dc64b84910075231.tar.bz2 42-cub3d-90c93c385af0fbe3c279b805dc64b84910075231.tar.xz 42-cub3d-90c93c385af0fbe3c279b805dc64b84910075231.tar.zst 42-cub3d-90c93c385af0fbe3c279b805dc64b84910075231.zip |
in progress
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_init_funptr.c | 3 | ||||
-rw-r--r-- | src/ft_init_map.c | 1 | ||||
-rw-r--r-- | src/ft_select_get.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/ft_init_funptr.c b/src/ft_init_funptr.c index f95e020..6d668dc 100644 --- a/src/ft_init_funptr.c +++ b/src/ft_init_funptr.c @@ -28,7 +28,8 @@ void ft_sprintf(clist->ref[9], "LT"); ft_sprintf(clist->ref[10], "MU"); ft_sprintf(clist->ref[11], "SH"); - ft_bzero(clist->ref[12], 3); + ft_sprintf(clist->ref[12], "SB"); + ft_bzero(clist->ref[13], 3); } void diff --git a/src/ft_init_map.c b/src/ft_init_map.c index 68a3b6d..f8b91ec 100644 --- a/src/ft_init_map.c +++ b/src/ft_init_map.c @@ -58,6 +58,7 @@ int8_t mlist->isctex = 0; mlist->isnlvl = 0; mlist->ismusic = 0; + mlist->isskybox = 0; mlist->darklvl = 0; mlist->scale = 0; mlist->nlx = 0; diff --git a/src/ft_select_get.c b/src/ft_select_get.c index c246d25..fe6bb3e 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -66,7 +66,7 @@ static int8_t ret = 0; while (ft_strncmp(words[0], clist->ref[ret], 3) && clist->ref[ret][0]) ret++; - if (ret == 12) + if (ret == 13) ret = FT_PARSE_END_RET; ret = ft_check_exists(ret, clist); ret = ft_check_exists_two(ret, clist); |