From 28001ea15005a79f980dcd8d0c2eb3497f05771a Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 28 Aug 2022 00:48:12 +0300 Subject: [PATCH] engine: client: enable notify messages in non-developer mode --- engine/client/console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/client/console.c b/engine/client/console.c index 1ffc15ef..3a5ea4a0 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -2041,7 +2041,7 @@ void Con_DrawDebug( void ) if( scr_download->value != -1.0f ) { Q_snprintf( dlstring, sizeof( dlstring ), "Downloading [%d remaining]: ^2%s^7 %5.1f%% time %.f secs", - host.downloadcount, host.downloadfile, scr_download->value, Sys_DoubleTime() - timeStart ); + host.downloadcount, host.downloadfile, scr_download->value, Sys_DoubleTime() - timeStart ); x = refState.width - 500; y = con.curFont->charHeight * 1.05f; Con_DrawString( x, y, dlstring, g_color_table[7] ); @@ -2051,7 +2051,7 @@ void Con_DrawDebug( void ) timeStart = Sys_DoubleTime(); } - if( !host_developer.value || Cvar_VariableInteger( "cl_background" ) || Cvar_VariableInteger( "sv_background" )) + if( Cvar_VariableInteger( "cl_background" ) || Cvar_VariableInteger( "sv_background" )) return; if( con.draw_notify && !Con_Visible( )) @@ -2077,7 +2077,7 @@ void Con_DrawNotify( void ) x = con.curFont->charWidths[' ']; // offset one space at left screen side - if( host_developer.value && ( !Cvar_VariableInteger( "cl_background" ) && !Cvar_VariableInteger( "sv_background" ))) + if( !Cvar_VariableInteger( "cl_background" ) && !Cvar_VariableInteger( "sv_background" )) { for( i = CON_LINES_COUNT - con.num_times; i < CON_LINES_COUNT; i++ ) {