aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-01-27 19:20:28 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-01-27 19:20:28 +0100
commit0c2bb0f610c0af0680b46fc4566a207d59781e4d (patch)
tree986d6dd6a19416593c9b2c043312ffa5d4f0be73 /src/ft_init_lists.c
parentin progress (diff)
download42-cub3d-0c2bb0f610c0af0680b46fc4566a207d59781e4d.tar.gz
42-cub3d-0c2bb0f610c0af0680b46fc4566a207d59781e4d.tar.bz2
42-cub3d-0c2bb0f610c0af0680b46fc4566a207d59781e4d.tar.xz
42-cub3d-0c2bb0f610c0af0680b46fc4566a207d59781e4d.tar.zst
42-cub3d-0c2bb0f610c0af0680b46fc4566a207d59781e4d.zip
Switched lists entierly
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 b395840..3554e5e 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -37,5 +37,6 @@ t_cub
if (!(clist->map[0] = (char*)ft_calloc(1, sizeof(char))))
return (NULL);
clist->map[1] = 0;
+ clist->map_width = 0;
return (clist);
}