Skip to content

Commit

Permalink
port: fix #219, #506
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Nov 15, 2024
1 parent 28fceb6 commit f514e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game/sight.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand All @@ -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];

Expand All @@ -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];

Expand Down

0 comments on commit f514e25

Please sign in to comment.