From 192f2260f196914e0db07d4695dc85a859f24e26 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 16 Mar 2020 19:05:52 +0100 Subject: Still searching --- src/ft_init_lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_init_lists.c') 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); } -- cgit v1.2.3