From 4fccd597e3c5c97144e4324c1371db9f7f039967 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 29 Feb 2020 00:29:17 +0100 Subject: Works fine, preparing small map --- src/ft_select_get.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ft_select_get.c') 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); -- cgit v1.2.3