From f514e25208ba4835de7683ae8591de3653c38420 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Fri, 15 Nov 2024 01:32:21 +0100 Subject: [PATCH] port: fix #219, #506 --- src/game/sight.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/sight.c b/src/game/sight.c index cc55ffc59..78359c4ef 100644 --- a/src/game/sight.c +++ b/src/game/sight.c @@ -312,7 +312,7 @@ void sightTick(bool sighton) if (g_Vars.currentplayer->lookingatprop.prop != g_Vars.currentplayer->trackedprops[0].prop) { struct sndstate *handle; - handle = snd00010718(&handle, 0, AL_VOL_FULL, AL_PAN_CENTER, SFX_0007, 1, 1, -1, true); + handle = snd00010718(NULL, 0, AL_VOL_FULL, AL_PAN_CENTER, SFX_0007, 1, 1, -1, true); trackedprop = &g_Vars.currentplayer->trackedprops[0]; @@ -338,7 +338,7 @@ void sightTick(bool sighton) if (index >= 0) { struct sndstate *handle; - handle = snd00010718(&handle, 0, AL_VOL_FULL, AL_PAN_CENTER, SFX_0007, 1, 1, -1, 1); + handle = snd00010718(NULL, 0, AL_VOL_FULL, AL_PAN_CENTER, SFX_0007, 1, 1, -1, 1); trackedprop = &g_Vars.currentplayer->trackedprops[index]; @@ -361,7 +361,7 @@ void sightTick(bool sighton) if (index >= 0) { struct sndstate *handle; - handle = snd00010718(&handle, 0, AL_VOL_FULL, AL_PAN_CENTER, SFX_0007, 1, 1, -1, 1); + handle = snd00010718(NULL, 0, AL_VOL_FULL, AL_PAN_CENTER, SFX_0007, 1, 1, -1, 1); trackedprop = &g_Vars.currentplayer->trackedprops[index];