diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 18:55:45 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-28 18:55:45 +0100 |
commit | cbb47afbbcc9b42f3094df620bbc0ef02aa7f3d2 (patch) | |
tree | 1e0aa232748e071c10779ed7dbf641178d85664e /src/ft_init_map.c | |
parent | In progress (diff) | |
download | 42-cub3d-cbb47afbbcc9b42f3094df620bbc0ef02aa7f3d2.tar.gz 42-cub3d-cbb47afbbcc9b42f3094df620bbc0ef02aa7f3d2.tar.bz2 42-cub3d-cbb47afbbcc9b42f3094df620bbc0ef02aa7f3d2.tar.xz 42-cub3d-cbb47afbbcc9b42f3094df620bbc0ef02aa7f3d2.tar.zst 42-cub3d-cbb47afbbcc9b42f3094df620bbc0ef02aa7f3d2.zip |
Parsed
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r-- | src/ft_init_map.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c index 0eb2ab2..eac9366 100644 --- a/src/ft_init_map.c +++ b/src/ft_init_map.c @@ -23,6 +23,7 @@ static int8_t !(mlist->ea_tex_path = (char*)ft_calloc(1, sizeof(char))) || !(mlist->we_tex_path = (char*)ft_calloc(1, sizeof(char))) || !(mlist->sprite_path = (char*)ft_calloc(1, sizeof(char))) || + !(mlist->nl_tex_path = (char*)ft_calloc(1, sizeof(char))) || !(mlist->nlevel_path = (char*)ft_calloc(1, sizeof(char))) || !(mlist->mapl = (char*)ft_calloc(1, sizeof(char))) || !(mlist->map = (char**)ft_calloc(2, sizeof(char*))) || @@ -50,5 +51,7 @@ t_map mlist->isspawn = 0; mlist->isnlvl = 0; mlist->scale = 0; + mlist->nlx = 0; + mlist->nly = 0; return (mlist); } |