diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-16 19:05:52 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-16 19:05:52 +0100 |
commit | 192f2260f196914e0db07d4695dc85a859f24e26 (patch) | |
tree | 58f343a5dd6161da601bf8ccae05acc0782c2e9b /src/ft_init_lists.c | |
parent | in progress (diff) | |
download | 42-cub3d-192f2260f196914e0db07d4695dc85a859f24e26.tar.gz 42-cub3d-192f2260f196914e0db07d4695dc85a859f24e26.tar.bz2 42-cub3d-192f2260f196914e0db07d4695dc85a859f24e26.tar.xz 42-cub3d-192f2260f196914e0db07d4695dc85a859f24e26.tar.zst 42-cub3d-192f2260f196914e0db07d4695dc85a859f24e26.zip |
Still searching
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index fa862ae..1b12b7e 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -84,7 +84,7 @@ static int8_t cl->walltexgood = 0; ft_init_funptr(cl); ft_init_ref(cl); - if (!(cl->sprites = ft_init_sprites())) + if (ft_init_sprites(&cl->sprites) < 0) return (-1); return (0); } |