]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
Made Sys_Error print the error message to the console / logfile.
[xonotic/darkplaces.git] / sys_win.c
index 8e3c628f850ef06d14d2beb96aa4fee1db77458e..f53745e560ef2485da9e1631e1ac75ae2ad36e97 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -73,10 +73,14 @@ void Sys_Error (const char *error, ...)
        if (!in_sys_error0 && cls.state != ca_dedicated)
        {
                in_sys_error0 = 1;
-               VID_Shutdown();
+               VID_Shutdown();     
        }
        MessageBox(NULL, text, "Quake Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP);
 
+       Con_Print ("Quake Error: ");
+       Con_Print (text);
+       Con_Print ("\n");
+
        if (!in_sys_error1)
        {
                in_sys_error1 = 1;