diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 10:16:48 +0100 |
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-11 10:16:48 +0100 |
| commit | c581c7e3543058f015bddf96d76ac2d771ea40a0 (patch) | |
| tree | b3c8fe72a65ac834fcd7edaef4e2887f49d53c90 /src/ft_select_get.c | |
| parent | Parsed traps (diff) | |
| download | 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.gz 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.bz2 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.xz 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.tar.zst 42-cub3d-c581c7e3543058f015bddf96d76ac2d771ea40a0.zip | |
Nice parse
Diffstat (limited to '')
| -rw-r--r-- | src/ft_select_get.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c index 2a95309..f748721 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -53,6 +53,10 @@ static int8_t return (-1); if (ret == 10 && (clist->mlist.music_path[0])) return (-1); + if (ret == 12 && (clist->mlist.skybox_path[0])) + return (-1); + if (ret == 13 && (clist->mlist.traps_path[0])) + return (-1); return (ret); } |
