Browse Source

Fix downloading models with zero res->ucFlags

pull/2/head
mittorn 7 years ago
parent
commit
6ae44d7577
  1. 2
      engine/client/cl_parse.c

2
engine/client/cl_parse.c

@ -778,7 +778,7 @@ int CL_EstimateNeededResources( void )
break; break;
case t_model: case t_model:
nSize = FS_FileSize( p->szFileName, false ); nSize = FS_FileSize( p->szFileName, false );
if( p->szFileName[0] != '*' && p->ucFlags && nSize == -1 ) if( p->szFileName[0] != '*' && nSize == -1 )
{ {
SetBits( p->ucFlags, RES_WASMISSING ); SetBits( p->ucFlags, RES_WASMISSING );
nTotalSize += p->nDownloadSize; nTotalSize += p->nDownloadSize;

Loading…
Cancel
Save