mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 07:37:52 +00:00
Fix downloading models with zero res->ucFlags
This commit is contained in:
parent
42b4e456a2
commit
6ae44d7577
@ -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…
Reference in New Issue
Block a user