*/
void Log_ConPrint (const char *msg)
{
+ static qboolean inprogress = false;
+ // don't allow feedback loops with memory error reports
+ if (inprogress)
+ return;
+ inprogress = true;
// Until the host is completely initialized, we maintain a log queue
// to store the messages, since the log can't be started before
if (logqueue != NULL)
memcpy (&logqueue[logq_ind], msg, len);
logq_ind += len;
+ inprogress = false;
return;
}
if (log_sync.integer)
FS_Flush (logfile);
}
+ inprogress = false;
}
if (txt[0] == 1)
{
mask = 128; // go to colored text
- S_LocalSound ("misc/talk.wav", true);
+ S_LocalSound ("sound/misc/talk.wav");
// play talk wav
txt++;
}
continue;
text = con_text + (i % con_totallines)*con_linewidth;
- clearnotify = 0;
-
DrawQ_String(0, v, text, con_linewidth, 8, 8, 1, 1, 1, 1, 0);
v += 8;
if (key_dest == key_message)
{
- clearnotify = 0;
-
x = 0;
// LordHavoc: speedup, and other improvements