diff options
Diffstat (limited to '')
-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); } |