diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:43:11 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-28 15:43:11 +0100 |
commit | a3bbca59528b7c74369988b480e83b66224638ef (patch) | |
tree | 44eac6d8b8307976d53fda4733e10b4b3f1be531 /src/ft_select_get.c | |
parent | ok (diff) | |
download | 42-cub3d-a3bbca59528b7c74369988b480e83b66224638ef.tar.gz 42-cub3d-a3bbca59528b7c74369988b480e83b66224638ef.tar.bz2 42-cub3d-a3bbca59528b7c74369988b480e83b66224638ef.tar.xz 42-cub3d-a3bbca59528b7c74369988b480e83b66224638ef.tar.zst 42-cub3d-a3bbca59528b7c74369988b480e83b66224638ef.zip |
Removed skybox shit
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r-- | src/ft_select_get.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c index 2c37b8f..d311528 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -36,8 +36,8 @@ static int8_t 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))) + else if ((ret == 7 || ret == 12) && ((clist->c_rgb.r != -1) || + (clist->c_rgb.g != -1) || (clist->c_rgb.b != -1))) return (-1); return (ret); } |