================== S_StartLocalSound ================== */
| 1641 | ================== |
| 1642 | */ |
| 1643 | void S_StartLocalSound( sfxHandle_t sfxHandle, int channelNum ) { |
| 1644 | if ( !s_soundStarted || s_soundMuted ) { |
| 1645 | return; |
| 1646 | } |
| 1647 | |
| 1648 | if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) { |
| 1649 | Com_Error( ERR_DROP, "S_StartLocalSound: handle %i out of range", sfxHandle ); |
| 1650 | } |
| 1651 | |
| 1652 | S_StartSound (NULL, listener_number, (soundChannel_t)channelNum, sfxHandle ); |
| 1653 | } |
| 1654 | |
| 1655 | /* |
| 1656 | ================== |
no test coverage detected