aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 01:06:59 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-14 01:06:59 +0100
commita383bde7d29293919eb635aeb14760a7a55e12b3 (patch)
tree76000460117d1ab1348d98a03e2c92215755fde8 /src/ft_exit.c
parentFuck threads and forks (diff)
download42-cub3d-a383bde7d29293919eb635aeb14760a7a55e12b3.tar.gz
42-cub3d-a383bde7d29293919eb635aeb14760a7a55e12b3.tar.bz2
42-cub3d-a383bde7d29293919eb635aeb14760a7a55e12b3.tar.xz
42-cub3d-a383bde7d29293919eb635aeb14760a7a55e12b3.tar.zst
42-cub3d-a383bde7d29293919eb635aeb14760a7a55e12b3.zip
Removed footsteps, in progress
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c3
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);