diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 20:51:54 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 20:51:54 +0100 |
commit | 733fd55d384eef1c89e0ad2a44beaee066182b50 (patch) | |
tree | 494e767707cd2bcecae33519f8d89f4888f5dde3 /src/ft_init_lists.c | |
parent | GNL fix (diff) | |
download | 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.gz 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.bz2 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.xz 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.tar.zst 42-cub3d-733fd55d384eef1c89e0ad2a44beaee066182b50.zip |
Right but not perfect
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 5592358..f451220 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -18,7 +18,7 @@ #include <limits.h> #include <math.h> -static t_rgb +t_rgb ft_init_rgb(void) { t_rgb rgb; @@ -85,6 +85,7 @@ static t_cub clist->f_rgb = ft_init_rgb(); clist->c_rgb = ft_init_rgb(); clist->rlist = ft_init_s_ray(); + clist->currlvl = 0; clist->key_ptr[0] = ft_w_key; clist->key_ptr[1] = ft_a_key; clist->key_ptr[2] = ft_s_key; |