mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-14 21:20:26 +01:00
Fix sound downloading
This commit is contained in:
parent
30771fefa6
commit
d3a0146b5a
@ -1839,7 +1839,7 @@ static qboolean SV_DownloadFile_f( sv_client_t *cl )
|
||||
const char *cmpname = name;
|
||||
|
||||
if( sv.resources[i].type == t_sound )
|
||||
cmpname += sizeof( DEFAULT_SOUNDPATH ); // cut "sound/" off
|
||||
cmpname += sizeof( DEFAULT_SOUNDPATH ) - 1; // cut "sound/" off
|
||||
|
||||
if( !Q_strncmp( sv.resources[i].szFileName, cmpname, 64 ) )
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user