aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_select_get.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c
index 4ec1a45..c6251c2 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -20,7 +20,8 @@ static int8_t
{
if (ret == 12)
return (12);
- if (ret == 0 && (clist->wlist->x_size != 0 || clist->wlist->y_size != 0))
+ if (ret == 0 && clist->currlvl == 0 &&
+ (clist->wlist->x_size != 0 || clist->wlist->y_size != 0))
return (-1);
else if (ret == 1 && (clist->mlist->no_tex_path[0]))
return (-1);