mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-15 01:20:32 +00: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;
|
const char *cmpname = name;
|
||||||
|
|
||||||
if( sv.resources[i].type == t_sound )
|
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 ) )
|
if( !Q_strncmp( sv.resources[i].szFileName, cmpname, 64 ) )
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user