Browse Source

Fix sound downloading

pull/2/head
mittorn 7 years ago
parent
commit
d3a0146b5a
  1. 2
      engine/server/sv_client.c

2
engine/server/sv_client.c

@ -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…
Cancel
Save