From 768755c31aaaf79b8325da3db64fda0c983eeba2 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 3 Jul 2024 04:22:28 +0300 Subject: [PATCH] engine: client: use Con_Printf instead of Con_Print (which is just printing to console, not the logging) --- engine/client/console.c | 1 - engine/client/vid_common.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/client/console.c b/engine/client/console.c index c4330274..2a310ffb 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -847,7 +847,6 @@ void Con_Print( const char *txt ) static char buf[MAX_PRINT_MSG]; qboolean norefresh = false; static int lastlength = 0; - static qboolean inupdate; static int bufpos = 0; int c, mask = 0; diff --git a/engine/client/vid_common.c b/engine/client/vid_common.c index c5c8ea22..4db1ff24 100644 --- a/engine/client/vid_common.c +++ b/engine/client/vid_common.c @@ -175,7 +175,7 @@ static void VID_Mode_f( void ) vidmode = R_GetVideoMode( Q_atoi( Cmd_Argv( 1 )) ); 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; }