aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r--src/ft_select_get.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c
index a2bd257..0edc4f2 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -36,8 +36,9 @@ static int8_t
if (ret == 6 && (((clist->f_rgb.r != -1) || (clist->f_rgb.g != -1)
|| (clist->f_rgb.b != -1)) || clist->mlist.fl_tex_path[0]))
return (-1);
- if (ret == 7 && (((clist->c_rgb.r != -1) || (clist->c_rgb.g != -1)
- || (clist->c_rgb.b != -1)) || clist->mlist.ce_tex_path[0]))
+ if ((ret == 7 || ret == 12) && (((clist->c_rgb.r != -1) ||
+ (clist->c_rgb.g != -1) || (clist->c_rgb.b != -1)) ||
+ clist->mlist.ce_tex_path[0]))
return (-1);
return (ret);
}
@@ -53,8 +54,6 @@ static int8_t
return (-1);
if (ret == 10 && (clist->mlist.music_path[0]))
return (-1);
- if (ret == 12 && (clist->mlist.skybox_path[0]))
- return (-1);
if (ret == 13 && (clist->mlist.traps_path[0]))
return (-1);
if (ret > 13 && ret < 21 && (clist->mlist.sprite_path[ret - 13][0]))