mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-30 08:44:31 +00:00
engine: client: sound: don't print sound/ twice in soundlist command
This commit is contained in:
parent
8293bc91d4
commit
b6347d17c9
@ -54,7 +54,7 @@ void S_SoundList_f( void )
|
|||||||
|
|
||||||
if( sc->loopStart >= 0 ) Con_Printf( "L" );
|
if( sc->loopStart >= 0 ) Con_Printf( "L" );
|
||||||
else Con_Printf( " " );
|
else Con_Printf( " " );
|
||||||
if( sfx->name[0] == '*' )
|
if( sfx->name[0] == '*' || !Q_strncmp( sfx->name, DEFAULT_SOUNDPATH, sizeof( DEFAULT_SOUNDPATH ) - 1 ))
|
||||||
Con_Printf( " (%2db) %s : %s\n", sc->width * 8, Q_memprint( sc->size ), sfx->name );
|
Con_Printf( " (%2db) %s : %s\n", sc->width * 8, Q_memprint( sc->size ), sfx->name );
|
||||||
else Con_Printf( " (%2db) %s : " DEFAULT_SOUNDPATH "%s\n", sc->width * 8, Q_memprint( sc->size ), sfx->name );
|
else Con_Printf( " (%2db) %s : " DEFAULT_SOUNDPATH "%s\n", sc->width * 8, Q_memprint( sc->size ), sfx->name );
|
||||||
totalSfx++;
|
totalSfx++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user