From 7359ab92230a7b4f05855de50f36aa4880901f3b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 6 Apr 2020 15:31:58 +0200 Subject: Better sound handling, few changes --- src/ft_sfx_bb_scream.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ft_sfx_bb_scream.c') diff --git a/src/ft_sfx_bb_scream.c b/src/ft_sfx_bb_scream.c index da93bdc..7c68c53 100644 --- a/src/ft_sfx_bb_scream.c +++ b/src/ft_sfx_bb_scream.c @@ -25,7 +25,6 @@ void else pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); sfx = (t_sfx *)vargp; - pthread_mutex_lock(&sfx[14].mutex); while (1) { pthread_mutex_lock(&sfx[14].mutex); -- cgit v1.2.3