MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zEntPlayer_SNDSetVol

Function zEntPlayer_SNDSetVol

src/SB/Game/zEntPlayer.cpp:5871–5877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5869}
5870
5871void zEntPlayer_SNDSetVol(_tagePlayerSnd player_snd, F32 new_vol)
5872{
5873 if (sPlayerSnd[gCurrentPlayer][player_snd])
5874 {
5875 xSndSetVol(sPlayerSndID[gCurrentPlayer][player_snd], new_vol);
5876 }
5877}
5878
5879void zEntPlayer_SNDSetPitch(_tagePlayerSnd player_snd, F32 new_pitch)
5880{

Callers 2

zEntPlayerJumpLandFunction · 0.85
set_volumeFunction · 0.85

Calls 1

xSndSetVolFunction · 0.85

Tested by

no test coverage detected