================== S_StartLocalLoopingSound ================== */
| 1658 | ================== |
| 1659 | */ |
| 1660 | void S_StartLocalLoopingSound( sfxHandle_t sfxHandle) { |
| 1661 | vec3_t nullVec = {0,0,0}; |
| 1662 | |
| 1663 | if ( !s_soundStarted || s_soundMuted ) { |
| 1664 | return; |
| 1665 | } |
| 1666 | |
| 1667 | if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) { |
| 1668 | Com_Error( ERR_DROP, "S_StartLocalLoopingSound: handle %i out of range", sfxHandle ); |
| 1669 | } |
| 1670 | |
| 1671 | S_AddLoopingSound( listener_number, nullVec, nullVec, sfxHandle ); |
| 1672 | |
| 1673 | } |
| 1674 | |
| 1675 | // returns length in milliseconds of supplied sound effect... (else 0 for bad handle now) |
| 1676 | // |
nothing calls this directly
no test coverage detected