diff --git a/engine/client/cl_game.c b/engine/client/cl_game.c index eceb0d82..5de1b832 100644 --- a/engine/client/cl_game.c +++ b/engine/client/cl_game.c @@ -1019,7 +1019,8 @@ void CL_DrawHUD( int state ) CL_DrawCrosshair (); CL_DrawCenterPrint (); clgame.dllFuncs.pfnRedraw( cl.time, cl.intermission ); - CL_DrawLoadingOrPaused( cls.pauseIcon ); + if( showpause.value ) + CL_DrawLoadingOrPaused( cls.pauseIcon ); break; case CL_LOADING: CL_DrawLoadingOrPaused( cls.loadingBar ); diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 8f0ad8cb..f49e4e8d 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -30,6 +30,7 @@ GNU General Public License for more details. #define CL_CONNECTION_RETRIES 10 #define CL_TEST_RETRIES 5 +CVAR_DEFINE_AUTO( showpause, "1", 0, "show pause logo when paused" ); CVAR_DEFINE_AUTO( mp_decals, "300", FCVAR_ARCHIVE, "decals limit in multiplayer" ); static CVAR_DEFINE_AUTO( dev_overview, "0", 0, "draw level in overview-mode" ); static CVAR_DEFINE_AUTO( cl_resend, "6.0", 0, "time to resend connect" ); @@ -3046,6 +3047,7 @@ static void CL_InitLocal( void ) cl.resourcesneeded.pNext = cl.resourcesneeded.pPrev = &cl.resourcesneeded; cl.resourcesonhand.pNext = cl.resourcesonhand.pPrev = &cl.resourcesonhand; + Cvar_RegisterVariable( &showpause ); Cvar_RegisterVariable( &mp_decals ); Cvar_RegisterVariable( &dev_overview ); Cvar_RegisterVariable( &cl_resend ); diff --git a/engine/client/client.h b/engine/client/client.h index 4d97ab33..e9f28275 100644 --- a/engine/client/client.h +++ b/engine/client/client.h @@ -660,6 +660,7 @@ extern gameui_static_t gameui; // // cvars // +extern convar_t showpause; extern convar_t mp_decals; extern convar_t cl_logomaxdim; extern convar_t cl_allow_download;