aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 22:20:28 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 22:20:28 +0100
commitaf420cd70a6bc8bc1ca947aa7077f1abfbe6220a (patch)
treed55cae41224298a8e55732f50c59e610f788d446 /src
parentTweaked move speed (diff)
download42-cub3d-af420cd70a6bc8bc1ca947aa7077f1abfbe6220a.tar.gz
42-cub3d-af420cd70a6bc8bc1ca947aa7077f1abfbe6220a.tar.bz2
42-cub3d-af420cd70a6bc8bc1ca947aa7077f1abfbe6220a.tar.xz
42-cub3d-af420cd70a6bc8bc1ca947aa7077f1abfbe6220a.tar.zst
42-cub3d-af420cd70a6bc8bc1ca947aa7077f1abfbe6220a.zip
Cleaner
Diffstat (limited to 'src')
-rw-r--r--src/ft_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index a8ca19f..4f955f4 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -40,7 +40,7 @@ static void
pthread_join(clist->mtid, NULL);
}
i = -1;
- while (++i < 10)
+ while (++i < 12)
{
pthread_mutex_unlock(&clist->sfx[i].mutex);
pthread_cancel(clist->sfx[i].tid);