aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 19:42:05 +0100
committerRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 19:42:05 +0100
commite29dd2fa3688e1e96a25af3b651da574af08aa90 (patch)
treecb6486fc91f1b93e61e4dcda25d359095e6aa108 /src/ft_select_get.c
parentBetter code structure (diff)
download42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.gz
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.bz2
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.xz
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.zst
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.zip
Splited structs
Diffstat (limited to '')
-rw-r--r--src/ft_select_get.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c
index 76f424d..9c2bcbf 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -23,15 +23,15 @@ static int8_t
return (12);
if (ret == 0 && (clist->wlist->x_size != 0 || clist->wlist->y_size != 0))
return (-1);
- else if (ret == 1 && (clist->no_tex_path[0]))
+ else if (ret == 1 && (clist->mlist->no_tex_path[0]))
return (-1);
- else if (ret == 2 && (clist->so_tex_path[0]))
+ else if (ret == 2 && (clist->mlist->so_tex_path[0]))
return (-1);
- else if (ret == 3 && (clist->ea_tex_path[0]))
+ else if (ret == 3 && (clist->mlist->ea_tex_path[0]))
return (-1);
- else if (ret == 4 && (clist->we_tex_path[0]))
+ else if (ret == 4 && (clist->mlist->we_tex_path[0]))
return (-1);
- else if (ret == 5 && (clist->sprite_path[0]))
+ else if (ret == 5 && (clist->mlist->sprite_path[0]))
return (-1);
else if (ret == 6 && ((clist->f_rgb.r != -1) || (clist->f_rgb.g != -1)
|| (clist->f_rgb.b != -1)))