engine: client: use Con_Printf instead of Con_Print (which is just printing to console, not the logging)

This commit is contained in:
Alibek Omarov 2024-07-03 04:22:28 +03:00
parent 3088c7f198
commit 768755c31a
2 changed files with 1 additions and 2 deletions

View file

@ -847,7 +847,6 @@ void Con_Print( const char *txt )
static char buf[MAX_PRINT_MSG]; static char buf[MAX_PRINT_MSG];
qboolean norefresh = false; qboolean norefresh = false;
static int lastlength = 0; static int lastlength = 0;
static qboolean inupdate;
static int bufpos = 0; static int bufpos = 0;
int c, mask = 0; int c, mask = 0;

View file

@ -175,7 +175,7 @@ static void VID_Mode_f( void )
vidmode = R_GetVideoMode( Q_atoi( Cmd_Argv( 1 )) ); vidmode = R_GetVideoMode( Q_atoi( Cmd_Argv( 1 )) );
if( !vidmode ) if( !vidmode )
{ {
Con_Print( S_ERROR "unable to set mode, backend returned null" ); Con_Printf( S_ERROR "unable to set mode, backend returned null" );
return; return;
} }