diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-03 16:57:36 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-03 16:57:36 +0100 |
commit | d4f853942aa2031c4bd85539ef9f3470967ffdc5 (patch) | |
tree | d2c5ffb0027860722185bf26b526757360ff1584 /src/ft_select_get.c | |
parent | tweaks (diff) | |
parent | Going full stack is bav (diff) | |
download | 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.gz 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.bz2 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.xz 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.tar.zst 42-cub3d-d4f853942aa2031c4bd85539ef9f3470967ffdc5.zip |
Merge branch 'bmp'
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r-- | src/ft_select_get.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c index ed569ff..124c208 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -21,17 +21,17 @@ static int8_t if (ret == 12) return (12); if (ret == 0 && clist->currlvl == 0 && - (clist->wlist->x_size != 0 || clist->wlist->y_size != 0)) + (clist->wlist.x_size != 0 || clist->wlist.y_size != 0)) return (-1); - else if (ret == 1 && (clist->mlist->no_tex_path[0])) + else if (ret == 1 && (clist->mlist.no_tex_path[0])) return (-1); - else if (ret == 2 && (clist->mlist->so_tex_path[0])) + else if (ret == 2 && (clist->mlist.so_tex_path[0])) return (-1); - else if (ret == 3 && (clist->mlist->ea_tex_path[0])) + else if (ret == 3 && (clist->mlist.ea_tex_path[0])) return (-1); - else if (ret == 4 && (clist->mlist->we_tex_path[0])) + else if (ret == 4 && (clist->mlist.we_tex_path[0])) return (-1); - else if (ret == 5 && (clist->mlist->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))) @@ -47,11 +47,11 @@ static int8_t { if (ret == 12) return (12); - if (ret == 8 && (clist->mlist->nlevel_path[0])) + if (ret == 8 && (clist->mlist.nlevel_path[0])) return (-1); - if (ret == 9 && (clist->mlist->nl_tex_path[0])) + if (ret == 9 && (clist->mlist.nl_tex_path[0])) return (-1); - if (ret == 10 && (clist->mlist->music_path[0])) + if (ret == 10 && (clist->mlist.music_path[0])) return (-1); return (ret); } |