diff options
Diffstat (limited to 'src/ft_sfx_weapon_one.c')
-rw-r--r-- | src/ft_sfx_weapon_one.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ft_sfx_weapon_one.c b/src/ft_sfx_weapon_one.c index fca86f5..2cc8dcc 100644 --- a/src/ft_sfx_weapon_one.c +++ b/src/ft_sfx_weapon_one.c @@ -15,7 +15,7 @@ #include <pthread.h> void - *ft_sfx_weapon_one_load_thread(void *vargp) + *ft_sfx_w_one_load_thread(void *vargp) { t_sfx *sfx; @@ -24,7 +24,6 @@ void else pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); sfx = (t_sfx *)vargp; - pthread_mutex_lock(&sfx[6].mutex); while (1) { pthread_mutex_lock(&sfx[6].mutex); @@ -41,7 +40,7 @@ void } void - *ft_sfx_weapon_one_fire_thread(void *vargp) + *ft_sfx_w_one_fire_thread(void *vargp) { t_sfx *sfx; @@ -50,7 +49,6 @@ void else pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); sfx = (t_sfx *)vargp; - pthread_mutex_lock(&sfx[7].mutex); while (1) { pthread_mutex_lock(&sfx[7].mutex); |