git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4348
d7cf8633-e32d-0410-b094-
e92efae38249
va_end (argptr);
fprintf(stderr, "Error: %s\n", string);
+ Con_Print ("Quake Error: ");
+ Con_Print (string);
+ Con_Print ("\n");
+
Host_Shutdown ();
exit (1);
}
va_end (argptr);
fprintf(stderr, "Error: %s\n", string);
+ Con_Print ("Quake Error: ");
+ Con_Print (string);
+ Con_Print ("\n");
+
Host_Shutdown ();
exit (1);
}
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;