From e82ed3f5a4c0d338155f0dd33265f1b3511bd481 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sat, 16 May 2020 14:09:18 +0200 Subject: Added Makefiles rules to start adventures --- src/ft_exit.c | 1 - src/ft_warp_level.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ft_exit.c b/src/ft_exit.c index ea43576..28e8a6f 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -87,7 +87,6 @@ int ft_del_sfx_cmd(clist); ft_del_last_remains(clist); } - ft_printf("Exiting program\n"); exit(exit_code); return (0); } diff --git a/src/ft_warp_level.c b/src/ft_warp_level.c index abbed03..cbaf3f5 100644 --- a/src/ft_warp_level.c +++ b/src/ft_warp_level.c @@ -79,6 +79,7 @@ static void { pthread_cancel(cl->mtid); pthread_join(cl->mtid, NULL); + system(FT_SND_TERM_CMD); cl->isoldmus = 0; } else if (isoldmus && cl->mlist.ismusic -- cgit v1.2.3