* Sys_Dialog for more user friendly error reporting
* (bug #3932) Recovery from bad video settings
This commit is contained in:
parent
4876413217
commit
005f870ebe
13 changed files with 564 additions and 120 deletions
|
@ -3276,14 +3276,14 @@ CL_Shutdown
|
|||
|
||||
===============
|
||||
*/
|
||||
void CL_Shutdown( void ) {
|
||||
void CL_Shutdown( char *finalmsg ) {
|
||||
static qboolean recursive = qfalse;
|
||||
|
||||
// check whether the client is running at all.
|
||||
if(!(com_cl_running && com_cl_running->integer))
|
||||
return;
|
||||
|
||||
Com_Printf( "----- CL_Shutdown -----\n" );
|
||||
Com_Printf( "----- Client Shutdown (%s) -----\n", finalmsg );
|
||||
|
||||
if ( recursive ) {
|
||||
Com_Printf( "WARNING: Recursive shutdown\n" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue