diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:17:42 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:17:42 +0100 |
commit | 7f450e0664b7eb103358b0eeb0667033f7fead85 (patch) | |
tree | 024a02d21a47074344a2905280e5c4fd78c6eb8b /src/ft_init_map.c | |
parent | Preparing music (diff) | |
download | 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.gz 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.bz2 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.xz 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.tar.zst 42-cub3d-7f450e0664b7eb103358b0eeb0667033f7fead85.zip |
Another song
Diffstat (limited to '')
-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; |