diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_exit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index 6a92dac..e7b344e 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -82,9 +82,6 @@ static void if (!(tmp = waitpid(clist->sfx.death_pid, NULL, WNOHANG))) kill(clist->sfx.death_pid, SIGTERM); wait(&clist->sfx.death_pid); - if (!(tmp = waitpid(clist->sfx.footstep_pid, NULL, WNOHANG))) - kill(clist->sfx.footstep_pid, SIGTERM); - wait(&clist->sfx.footstep_pid); if (!(tmp = waitpid(clist->sfx.new_lvl_pid, NULL, WNOHANG))) kill(clist->sfx.new_lvl_pid, SIGTERM); wait(&clist->sfx.new_lvl_pid); |