diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 15:07:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-28 15:07:17 +0100 |
commit | 818e93aced8c273347f48dfc5dc1efe47384b0b7 (patch) | |
tree | e9cc371d9abfe78c5dc3afcdc67b09af3628bb0e /src | |
parent | Now destroying window (diff) | |
download | 42-cub3d-818e93aced8c273347f48dfc5dc1efe47384b0b7.tar.gz 42-cub3d-818e93aced8c273347f48dfc5dc1efe47384b0b7.tar.bz2 42-cub3d-818e93aced8c273347f48dfc5dc1efe47384b0b7.tar.xz 42-cub3d-818e93aced8c273347f48dfc5dc1efe47384b0b7.tar.zst 42-cub3d-818e93aced8c273347f48dfc5dc1efe47384b0b7.zip |
Wonderful my entier parsing is wrong
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_init_lists.c | 1 | ||||
-rw-r--r-- | src/ft_print_list.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 9e66e2e..5c14731 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -38,5 +38,6 @@ t_cub return (NULL); clist->map[1] = 0; clist->map_w = 0; + clist->line_chk = 0; return (clist); } diff --git a/src/ft_print_list.c b/src/ft_print_list.c index e48b2a2..4f67a88 100644 --- a/src/ft_print_list.c +++ b/src/ft_print_list.c @@ -22,4 +22,5 @@ ft_print_list(t_cub *clist) ft_printf("%2zu [%s]\n", i + 1, clist->map[i]); i++; } + ft_printf("Map width [%d]\n", clist->map_w); } |