mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-03-10 04:31:16 +00:00
engine: client: enable notify messages in non-developer mode
This commit is contained in:
parent
f633b3dbf6
commit
28001ea150
@ -2041,7 +2041,7 @@ void Con_DrawDebug( void )
|
|||||||
if( scr_download->value != -1.0f )
|
if( scr_download->value != -1.0f )
|
||||||
{
|
{
|
||||||
Q_snprintf( dlstring, sizeof( dlstring ), "Downloading [%d remaining]: ^2%s^7 %5.1f%% time %.f secs",
|
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;
|
x = refState.width - 500;
|
||||||
y = con.curFont->charHeight * 1.05f;
|
y = con.curFont->charHeight * 1.05f;
|
||||||
Con_DrawString( x, y, dlstring, g_color_table[7] );
|
Con_DrawString( x, y, dlstring, g_color_table[7] );
|
||||||
@ -2051,7 +2051,7 @@ void Con_DrawDebug( void )
|
|||||||
timeStart = Sys_DoubleTime();
|
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;
|
return;
|
||||||
|
|
||||||
if( con.draw_notify && !Con_Visible( ))
|
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
|
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++ )
|
for( i = CON_LINES_COUNT - con.num_times; i < CON_LINES_COUNT; i++ )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user