mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-14 04:01:06 +00:00
#if 0'd the code that updates the screen after every Con_Printf when
disconnected.
This commit is contained in:
parent
fb545cb638
commit
6f26023d81
1 changed files with 5 additions and 3 deletions
|
@ -385,7 +385,6 @@ void Con_Printf (char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list argptr;
|
va_list argptr;
|
||||||
char msg[MAXPRINTMSG];
|
char msg[MAXPRINTMSG];
|
||||||
static qboolean inupdate;
|
|
||||||
|
|
||||||
va_start (argptr, fmt);
|
va_start (argptr, fmt);
|
||||||
vsnprintf (msg, sizeof(msg), fmt, argptr);
|
vsnprintf (msg, sizeof(msg), fmt, argptr);
|
||||||
|
@ -403,12 +402,14 @@ void Con_Printf (char *fmt, ...)
|
||||||
|
|
||||||
// write it to the scrollable buffer
|
// write it to the scrollable buffer
|
||||||
Con_Print (msg);
|
Con_Print (msg);
|
||||||
|
|
||||||
|
#if 0 // Tonik
|
||||||
// update the screen immediately if the console is displayed
|
// update the screen immediately if the console is displayed
|
||||||
if (cls.state != ca_active)
|
if (cls.state != ca_active)
|
||||||
{
|
{
|
||||||
// protect against infinite loop if something in SCR_UpdateScreen calls
|
// protect against infinite loop if something in SCR_UpdateScreen calls
|
||||||
// Con_Printd
|
// Con_Printf
|
||||||
|
static qboolean inupdate;
|
||||||
if (!inupdate)
|
if (!inupdate)
|
||||||
{
|
{
|
||||||
inupdate = true;
|
inupdate = true;
|
||||||
|
@ -416,6 +417,7 @@ void Con_Printf (char *fmt, ...)
|
||||||
inupdate = false;
|
inupdate = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue