From 7f450e0664b7eb103358b0eeb0667033f7fead85 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 2 Mar 2020 00:17:42 +0100 Subject: Another song --- src/ft_init_map.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ft_init_map.c') 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; -- cgit v1.2.3