From 6f26023d8163374bba1d1daa006e9b4178417d51 Mon Sep 17 00:00:00 2001 From: "Anton E. Gavrilov" Date: Wed, 2 Aug 2000 22:40:13 +0000 Subject: [PATCH] #if 0'd the code that updates the screen after every Con_Printf when disconnected. --- source/console.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/console.c b/source/console.c index 712ed4a..d573c55 100644 --- a/source/console.c +++ b/source/console.c @@ -385,7 +385,6 @@ void Con_Printf (char *fmt, ...) { va_list argptr; char msg[MAXPRINTMSG]; - static qboolean inupdate; va_start (argptr, fmt); vsnprintf (msg, sizeof(msg), fmt, argptr); @@ -403,12 +402,14 @@ void Con_Printf (char *fmt, ...) // write it to the scrollable buffer Con_Print (msg); - + +#if 0 // Tonik // update the screen immediately if the console is displayed if (cls.state != ca_active) { // protect against infinite loop if something in SCR_UpdateScreen calls - // Con_Printd + // Con_Printf + static qboolean inupdate; if (!inupdate) { inupdate = true; @@ -416,6 +417,7 @@ void Con_Printf (char *fmt, ...) inupdate = false; } } +#endif } /*