aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-29 22:49:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-29 22:49:10 +0100
commit46538b419624d27d590d981d070b387291e1abc8 (patch)
tree234b58813339bd10a97f06dd96cf0984d384a0b3 /src/ft_init_lists.c
parentDebug flags is native (diff)
download42-cub3d-46538b419624d27d590d981d070b387291e1abc8.tar.gz
42-cub3d-46538b419624d27d590d981d070b387291e1abc8.tar.bz2
42-cub3d-46538b419624d27d590d981d070b387291e1abc8.tar.xz
42-cub3d-46538b419624d27d590d981d070b387291e1abc8.tar.zst
42-cub3d-46538b419624d27d590d981d070b387291e1abc8.zip
No leak
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r--src/ft_init_lists.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index f451220..055fd98 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -86,6 +86,7 @@ static t_cub
clist->c_rgb = ft_init_rgb();
clist->rlist = ft_init_s_ray();
clist->currlvl = 0;
+ clist->walltexgood = 0;
clist->key_ptr[0] = ft_w_key;
clist->key_ptr[1] = ft_a_key;
clist->key_ptr[2] = ft_s_key;