aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_sfx_trap.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-06 15:31:58 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-06 15:31:58 +0200
commit7359ab92230a7b4f05855de50f36aa4880901f3b (patch)
treec5de0e375f3f49d308950b24e199591dd8a2c1a8 /src/ft_sfx_trap.c
parentTweak (diff)
download42-cub3d-7359ab92230a7b4f05855de50f36aa4880901f3b.tar.gz
42-cub3d-7359ab92230a7b4f05855de50f36aa4880901f3b.tar.bz2
42-cub3d-7359ab92230a7b4f05855de50f36aa4880901f3b.tar.xz
42-cub3d-7359ab92230a7b4f05855de50f36aa4880901f3b.tar.zst
42-cub3d-7359ab92230a7b4f05855de50f36aa4880901f3b.zip
Better sound handling, few changes
Diffstat (limited to '')
-rw-r--r--src/ft_sfx_trap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ft_sfx_trap.c b/src/ft_sfx_trap.c
index 98f210b..5ae39f0 100644
--- a/src/ft_sfx_trap.c
+++ b/src/ft_sfx_trap.c
@@ -24,7 +24,6 @@ void
else
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
sfx = (t_sfx *)vargp;
- pthread_mutex_lock(&sfx[4].mutex);
while (1)
{
pthread_mutex_lock(&sfx[4].mutex);