diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-25 19:11:02 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-25 19:11:02 +0100 |
commit | 2c44469c6b14562b16f26f578d91102a4f6cdc02 (patch) | |
tree | d54bbdb6e0c04eb72fac6f327ef45ee8ea7ef243 /src/ft_init_lists.c | |
parent | Function to print the lists (diff) | |
download | 42-cub3d-2c44469c6b14562b16f26f578d91102a4f6cdc02.tar.gz 42-cub3d-2c44469c6b14562b16f26f578d91102a4f6cdc02.tar.bz2 42-cub3d-2c44469c6b14562b16f26f578d91102a4f6cdc02.tar.xz 42-cub3d-2c44469c6b14562b16f26f578d91102a4f6cdc02.tar.zst 42-cub3d-2c44469c6b14562b16f26f578d91102a4f6cdc02.zip |
not too bad
Diffstat (limited to '')
-rw-r--r-- | src/ft_init_lists.c | 2 |
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); } |