engine: client: minor fix, reference cl_allowdownload cvar actual name

This commit is contained in:
Alibek Omarov 2024-10-21 04:49:25 +03:00
parent 47318b0c14
commit ec11683dc5
3 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ qboolean CL_CheckFile( sizebuf_t *msg, resource_t *pResource )
if( !cl_allow_download.value )
{
Con_Reportf( "Download refused, cl_allow_download is 0\n" );
Con_Reportf( "Download refused, cl_allowdownload is 0\n" );
return true;
}

View file

@ -698,7 +698,7 @@ void CL_ParseCustomization( sizebuf_t *msg )
if( !cl_allow_download.value )
{
Con_DPrintf( "Refusing new resource, cl_allow_download set to 0\n" );
Con_DPrintf( "Refusing new resource, cl_allowdownload set to 0\n" );
Mem_Free( pRes );
return;
}

View file

@ -264,7 +264,7 @@ static void CL_LegacyParseResourceList( sizebuf_t *msg )
if( !cl_allow_download.value )
{
Con_DPrintf( "Refusing new resource, cl_allow_download set to 0\n" );
Con_DPrintf( "Refusing new resource, cl_allowdownload set to 0\n" );
reslist.rescount = 0;
}