diff options
author | /dev/humancontroller <devhc@example.com> | 2015-02-04 11:42:43 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:06 +0100 |
commit | eabaabaaafe9daa690432059261143b0e4fecfe5 (patch) | |
tree | cba36c19c383b729a5fe63434a6dc9687abc9603 /src/qcommon/common.c | |
parent | 6aec9f7560daa005c513cde384f063f0b9b55dbc (diff) |
remove the (generally unsecure) use of PIDs and PID files
this includes the removal of the "safe mode" question feature
Diffstat (limited to 'src/qcommon/common.c')
-rw-r--r-- | src/qcommon/common.c | 12 |
1 files changed, 0 insertions, 12 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 ); |