]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
Made Sys_Error print the error message to the console / logfile.
[xonotic/darkplaces.git] / sys_linux.c
index 499aaada5c43ae599ed3f4dfffd8a28df0b4b836..1df663ae20b5934b80c31eca8dad65aa7c0b8629 100644 (file)
@@ -44,6 +44,10 @@ void Sys_Error (const char *error, ...)
        va_end (argptr);
        fprintf(stderr, "Error: %s\n", string);
 
+       Con_Print ("Quake Error: ");
+       Con_Print (string);
+       Con_Print ("\n");
+
        Host_Shutdown ();
        exit (1);
 }