diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:01:25 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 16:01:25 +0100 |
commit | 1b3cf4e3ce43e556ef47c669511620815b747221 (patch) | |
tree | be53e93d6fd39578ce71e82502c1289aac98e819 /src/ft_init_lists.c | |
parent | Everything is terrible but this might work (diff) | |
download | 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.gz 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.bz2 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.xz 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.tar.zst 42-cub3d-1b3cf4e3ce43e556ef47c669511620815b747221.zip |
I understood
Diffstat (limited to '')
-rw-r--r-- | src/ft_init_lists.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 1b4ab59..f9c5c6c 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -14,6 +14,9 @@ t_win if (!(wlist->wlx = ft_calloc(1, 1)) || !(wlist->winptr = ft_calloc(1, 1))) return (NULL); + wlist->inited = 0; + wlist->x_size = 0; + wlist->y_size = 0; return (wlist); } @@ -38,6 +41,6 @@ t_cub return (NULL); clist->map[1] = 0; clist->map_w = 0; - clist->line_chk = 1; + clist->line_chk = 0; return (clist); } |