aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_sfx_weapon_two.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_sfx_weapon_two.c')
-rw-r--r--src/ft_sfx_weapon_two.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ft_sfx_weapon_two.c b/src/ft_sfx_weapon_two.c
index 1afc933..6d8e4a7 100644
--- a/src/ft_sfx_weapon_two.c
+++ b/src/ft_sfx_weapon_two.c
@@ -15,7 +15,7 @@
#include <pthread.h>
void
- *ft_sfx_weapon_two_load_thread(void *vargp)
+ *ft_sfx_w_two_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[8].mutex);
while (1)
{
pthread_mutex_lock(&sfx[8].mutex);
@@ -41,7 +40,7 @@ void
}
void
- *ft_sfx_weapon_two_fire_thread(void *vargp)
+ *ft_sfx_w_two_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[9].mutex);
while (1)
{
pthread_mutex_lock(&sfx[9].mutex);