]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
Remove Con_Warnf and Errorf. Use macros to change color and identify the message
[xonotic/darkplaces.git] / sys_win.c
index aa04130add342067e35a0ec043d8e30d96d0099a..de8e266a61460a2c8cf2413bafe51d6c2a32dab1 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -65,7 +65,7 @@ void Sys_Error (const char *error, ...)
        dpvsnprintf (text, sizeof (text), error, argptr);
        va_end (argptr);
 
-       Con_Errorf ("Engine Error: %s\n", text);
+       Con_Printf(CON_ERROR "Engine Error: %s\n", text);
 
        // close video so the message box is visible, unless we already tried that
        if (!in_sys_error0 && cls.state != ca_dedicated)