flush sv_logfile on each print

This commit is contained in:
Bill Currie 2003-10-22 09:04:18 +00:00
parent 969dad87eb
commit d3e7be755b

View file

@ -347,8 +347,10 @@ C_Print (const char *fmt, va_list args)
txt = buffer->str;
if (log_file)
if (log_file) {
Qputs (log_file, buffer->str);
Qflush (log_file);
}
#ifdef HAVE_CURSES_H
if (use_curses) {
Con_BufferAddText (output_buffer, buffer->str);