From 2aea7e90b7eba8a916b93880f4fa3f2360944587 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Sat, 17 Apr 2021 17:12:48 +0000 Subject: [PATCH] sys: Don't bother doing Host_Shutdown on Sys_Error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13125 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_sdl.c | 2 +- sys_unix.c | 2 +- sys_win.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys_sdl.c b/sys_sdl.c index 171e5c85..50cca9d9 100644 --- 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); } diff --git a/sys_unix.c b/sys_unix.c index f3ca3677..eccf986e 100644 --- a/sys_unix.c +++ b/sys_unix.c @@ -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); } diff --git a/sys_win.c b/sys_win.c index 466f20da..8ae3bbe9 100644 --- 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 -- 2.39.2