diff --git a/src/cl_view.c b/src/cl_view.c index 0e55486..2635f7a 100644 --- a/src/cl_view.c +++ b/src/cl_view.c @@ -287,7 +287,7 @@ void CL_PrepRefresh (void) strcpy (name, cl.configstrings[CS_MODELS+i]); name[37] = 0; // never go beyond one line if (name[0] != '*') - Com_Printf ("%s\r", name); + Com_DPrintf ("%s\r", name); SCR_UpdateScreen (); Sys_SendKeyEvents (); // pump message loop if (name[0] == '#') @@ -309,7 +309,7 @@ void CL_PrepRefresh (void) cl.model_clip[i] = NULL; } if (name[0] != '*') - Com_Printf (" \r"); + Com_DPrintf (" \r"); } Com_Printf ("images\r"); diff --git a/src/main.c b/src/main.c index a990e6c..7d96609 100644 --- a/src/main.c +++ b/src/main.c @@ -112,6 +112,14 @@ void Sys_ConsoleOutput (char *string) if (nostdout && nostdout->value) return; + if (!string) + return; + + if (string[0] == 1 || string[0] == 2) { + /* coloured text on the graphical console, ignore it */ + string++; + } + fputs(string, stdout); }