Browse Source

Deprecate secure parameter

pull/2/head
Alibek Omarov 6 years ago
parent
commit
2c755778f4
  1. 3
      engine/common/host.c

3
engine/common/host.c

@ -826,6 +826,8 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
FS_LoadGameInfo( NULL ); FS_LoadGameInfo( NULL );
Q_strncpy( host.gamefolder, GI->gamefolder, sizeof( host.gamefolder )); Q_strncpy( host.gamefolder, GI->gamefolder, sizeof( host.gamefolder ));
// DEPRECATED: by FWGS fork
#if 0
if( GI->secure ) if( GI->secure )
{ {
// clear all developer levels when game is protected // clear all developer levels when game is protected
@ -834,6 +836,7 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha
host.con_showalways = false; host.con_showalways = false;
host.allow_console = false; host.allow_console = false;
} }
#endif
HPAK_Init(); HPAK_Init();
IN_Init(); IN_Init();

Loading…
Cancel
Save