diff options
Diffstat (limited to 'src/ft_init_map.c')
-rw-r--r-- | src/ft_init_map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c index eac9366..13448c6 100644 --- a/src/ft_init_map.c +++ b/src/ft_init_map.c @@ -25,6 +25,7 @@ static int8_t !(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->music_path = (char*)ft_calloc(1, sizeof(char))) || !(mlist->mapl = (char*)ft_calloc(1, sizeof(char))) || !(mlist->map = (char**)ft_calloc(2, sizeof(char*))) || !(mlist->map[0] = (char*)ft_calloc(1, sizeof(char)))) @@ -50,6 +51,7 @@ t_map mlist->map_start = 0; mlist->isspawn = 0; mlist->isnlvl = 0; + mlist->ismusic = 0; mlist->scale = 0; mlist->nlx = 0; mlist->nly = 0; |