From 2c44469c6b14562b16f26f578d91102a4f6cdc02 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 25 Jan 2020 19:11:02 +0100 Subject: not too bad --- src/ft_init_lists.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ft_init_lists.c') diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 799204b..6bec697 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -30,5 +30,7 @@ t_cub !(clist->we_tex_path = (char*)ft_calloc(1, 1)) || !(clist->sprite_path = (char*)ft_calloc(1, 1))) return (NULL); + clist->f_color = 0; + clist->c_color = 0; return (clist); } -- cgit v1.2.3