diff options
Diffstat (limited to 'src/ft_get_music.c')
-rw-r--r-- | src/ft_get_music.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ft_get_music.c b/src/ft_get_music.c index c9119c9..0b6fede 100644 --- a/src/ft_get_music.c +++ b/src/ft_get_music.c @@ -10,6 +10,10 @@ /* */ /* ************************************************************************** */ +#include <libft.h> +#include <cub3d.h> +#include <stdint.h> + int8_t ft_get_music(char **words, t_cub *clist) { @@ -18,6 +22,7 @@ int8_t ft_sprintf(clist->errmsg, FT_ERR_ARGS); return (-1); } + ft_printf("%s", *(words + 1)); if (ft_check_ext(*(words + 1), ".wav") < 0) { ft_sprintf(clist->errmsg, FT_ERR_NOT_A_WAV); |