1
0
Fork 0
forked from fte/fteqw

Small fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5370 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-12-20 16:18:10 +00:00
parent cc6fff1722
commit b5bdb349fc

View file

@ -145,8 +145,9 @@ DWORD CrashExceptionHandler (qboolean iswatchdog, DWORD exceptionCode, LPEXCEPTI
if (pIsDebuggerPresent && pIsDebuggerPresent())
return EXCEPTION_CONTINUE_SEARCH;
#ifdef GLQUAKE
GLVID_Crashed();
#if defined(HAVE_CLIENT) && defined(GLQUAKE)
if (qrenderer == QR_OPENGL)
GLVID_Crashed();
#endif
#if 1//ndef _MSC_VER
@ -806,7 +807,9 @@ void Sys_Error (const char *error, ...)
Sys_Printf("\nLoading new instance of FTE...\n\n\n");
PR_Deinit(); //this takes a bit more mem
#ifdef SVRANKING
Rank_Flush();
#endif
#ifndef MINGW
fcloseall(); //make sure all files are written.
#endif