]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
sys: Don't bother doing Host_Shutdown on Sys_Error
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 17 Apr 2021 17:12:48 +0000 (17:12 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 17 Apr 2021 17:12:48 +0000 (17:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13125 d7cf8633-e32d-0410-b094-e92efae38249

sys_sdl.c
sys_unix.c
sys_win.c

index 171e5c85c33103f01d91c335728739f7427eb97e..50cca9d99d5688c2e3442caf963f04e8bfbcfe3a 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -62,7 +62,7 @@ void Sys_Error (const char *error, ...)
        if(!nocrashdialog)
                SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Engine Error", string, NULL);
 
-       Host_Shutdown ();
+       //Host_Shutdown ();
        exit (1);
 }
 
index f3ca36775551d8b7d4fb65ea071e296a2ac5230c..eccf986e3791149cbf604cb3f3506b7852430cd9 100644 (file)
@@ -42,7 +42,7 @@ void Sys_Error (const char *error, ...)
 
        Con_Printf(CON_ERROR "Engine Error: %s\n", string);
 
-       Host_Shutdown ();
+       //Host_Shutdown ();
        exit (1);
 }
 
index 466f20da448cd9234f2dc1bdca7dc2bdd10c85b3..8ae3bbe9d239a791189e0a74d078917c33941b09 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -83,7 +83,7 @@ void Sys_Error (const char *error, ...)
        if (!in_sys_error1)
        {
                in_sys_error1 = 1;
-               Host_Shutdown ();
+               //Host_Shutdown ();
        }
 
 // shut down QHOST hooks if necessary