aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ft_init_funptr.c3
-rw-r--r--src/ft_init_map.c1
-rw-r--r--src/ft_select_get.c2
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);