From ec11683dc5ef11a1813923cf0cbefee654a2e3df Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 21 Oct 2024 04:49:25 +0300 Subject: [PATCH] engine: client: minor fix, reference cl_allowdownload cvar actual name --- engine/client/cl_custom.c | 2 +- engine/client/cl_parse.c | 2 +- engine/client/cl_parse_48.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/client/cl_custom.c b/engine/client/cl_custom.c index fb77e698..03912768 100644 --- a/engine/client/cl_custom.c +++ b/engine/client/cl_custom.c @@ -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; } diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 46317ad3..59311864 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -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; } diff --git a/engine/client/cl_parse_48.c b/engine/client/cl_parse_48.c index 41042f87..9a33cf94 100644 --- a/engine/client/cl_parse_48.c +++ b/engine/client/cl_parse_48.c @@ -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; }