]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
Implement Con_Error(f) and Con_Warn(f), error and warning, for prettier colors
[xonotic/darkplaces.git] / sys_win.c
index c02cdbb6f8251866b5854e86b19aae4a30a8c8d4..54a482ed3120cddcaa365f7b2b96a58f35afcf21 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -64,7 +64,7 @@ void Sys_Error (const char *error, ...)
        dpvsnprintf (text, sizeof (text), error, argptr);
        va_end (argptr);
 
-       Con_Printf ("Engine Error: %s\n", text);
+       Con_Errorf ("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)