summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/common.c12
-rw-r--r--src/qcommon/qcommon.h2
2 files changed, 0 insertions, 14 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c
index 59659ef0..275ea4ea 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -2599,18 +2599,6 @@ void Com_Init( char *commandLine ) {
Sys_Init();
- if( Sys_WritePIDFile( ) ) {
-#ifndef DEDICATED
- const char *message = "The last time " CLIENT_WINDOW_TITLE " ran, "
- "it didn't exit properly. This may be due to inappropriate video "
- "settings. Would you like to start with \"safe\" video settings?";
-
- if( Sys_Dialog( DT_YES_NO, message, "Abnormal Exit" ) == DR_YES ) {
- Cvar_Set( "com_abnormalExit", "1" );
- }
-#endif
- }
-
// Pick a random port value
Com_RandomBytes( (byte*)&qport, sizeof(int) );
Netchan_Init( qport & 0xffff );
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h
index e8764ef3..c896ccbe 100644
--- a/src/qcommon/qcommon.h
+++ b/src/qcommon/qcommon.h
@@ -1112,8 +1112,6 @@ typedef enum
dialogResult_t Sys_Dialog( dialogType_t type, const char *message, const char *title );
-qboolean Sys_WritePIDFile( void );
-
/* This is based on the Adaptive Huffman algorithm described in Sayood's Data
* Compression book. The ranks are not actually stored, but implicitly defined
* by the location of a node within a doubly-linked list */