| 97 | } |
| 98 | |
| 99 | int G_SoundIndex( const char *name ) { |
| 100 | assert( name && name[0] ); |
| 101 | char stripped[MAX_QPATH]; |
| 102 | COM_StripExtension(name, stripped, sizeof(stripped)); |
| 103 | |
| 104 | return G_FindConfigstringIndex (stripped, CS_SOUNDS, MAX_SOUNDS, qtrue); |
| 105 | } |
| 106 | |
| 107 | int G_EffectIndex( const char *name ) |
| 108 | { |
no test coverage detected