aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 17:26:10 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 17:26:10 +0100
commit08dce587032f08c5bfbc2790bdb2d668ca1990c1 (patch)
treea927bf674dfa6d1d3efd03ef06dfacb115ae238f /src/ft_select_get.c
parentmap fix (diff)
download42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.gz
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.bz2
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.xz
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.zst
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.zip
int16_tamer
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r--src/ft_select_get.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c
index 188a6de..53a37d4 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -33,10 +33,12 @@ ft_check_exists(const int8_t ret, t_cub *clist)
return (-1);
else if (ret == 5 && (clist->sprite_path[0]))
return (-1);
- else if (ret == 6 && (clist->f_color != -1))
- return (-1);
- else if (ret == 7 && (clist->c_color != -1))
- return (-1);
+ /* else if (ret == 6 && ((clist->f_rgb.r != -1) || (clist->f_rgb.g != -1) */
+ /* || (clist->f_rgb.b != -1))) */
+ /* return (-1); */
+ /* else if (ret == 7 && ((clist->c_rgb.r != -1) || (clist->c_rgb.g != -1) */
+ /* || (clist->c_rgb.b != -1))) */
+ /* return (-1); */
return (ret);
}