aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r--src/ft_init_lists.c2
1 files changed, 2 insertions, 0 deletions
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);
}