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:
parent
cc6fff1722
commit
b5bdb349fc
1 changed files with 5 additions and 2 deletions
|
@ -145,7 +145,8 @@ DWORD CrashExceptionHandler (qboolean iswatchdog, DWORD exceptionCode, LPEXCEPTI
|
|||
|
||||
if (pIsDebuggerPresent && pIsDebuggerPresent())
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
#ifdef GLQUAKE
|
||||
#if defined(HAVE_CLIENT) && defined(GLQUAKE)
|
||||
if (qrenderer == QR_OPENGL)
|
||||
GLVID_Crashed();
|
||||
#endif
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue