/* ================== S_StartLocalSound ================== */ void S_Base_StartLocalSound( sfxHandle_t sfxHandle, int channelNum ) { if ( !s_soundStarted || s_soundMuted ) { return; } if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) { Com_Printf( S_COLOR_YELLOW "S_StartLocalSound: handle %i out of range\n", sfxHandle ); return; } S_Base_StartSound (NULL, listener_number, channelNum, sfxHandle ); }
static void S_Base_StartLocalSound(Handle sfxHandle, int channelNum) { if(!s_soundStarted || s_soundMuted) return; if(sfxHandle < 0 || sfxHandle >= s_numSfx) { comprintf( S_COLOR_YELLOW "sndstartlocalsound: handle %i out of range\n", sfxHandle); return; } S_Base_StartSound (NULL, listener_number, channelNum, sfxHandle); }