diff options
author | Rudy Bousset <bousset.rudy@gmail.com> | 2020-05-16 14:09:18 +0200 |
---|---|---|
committer | Rudy Bousset <bousset.rudy@gmail.com> | 2020-05-16 14:09:18 +0200 |
commit | e82ed3f5a4c0d338155f0dd33265f1b3511bd481 (patch) | |
tree | 63ee8e99d52e2f49018a56ffa739a946da959285 /src | |
parent | Full normed (diff) | |
download | 42-cub3d-e82ed3f5a4c0d338155f0dd33265f1b3511bd481.tar.gz 42-cub3d-e82ed3f5a4c0d338155f0dd33265f1b3511bd481.tar.bz2 42-cub3d-e82ed3f5a4c0d338155f0dd33265f1b3511bd481.tar.xz 42-cub3d-e82ed3f5a4c0d338155f0dd33265f1b3511bd481.tar.zst 42-cub3d-e82ed3f5a4c0d338155f0dd33265f1b3511bd481.zip |
Added Makefiles rules to start adventures
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_exit.c | 1 | ||||
-rw-r--r-- | src/ft_warp_level.c | 1 |
2 files changed, 1 insertions, 1 deletions
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 |