aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r--src/ft_init_map.c3
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);
}