mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Make com_target_game and com_target_demo write-protected (can only be set at startup)
This commit is contained in:
parent
598110477e
commit
880acf9120
1 changed files with 2 additions and 2 deletions
|
@ -1655,8 +1655,8 @@ void Com_Init( char *commandLine ) {
|
|||
// done early so bind command exists
|
||||
CL_InitKeyCommands();
|
||||
|
||||
com_target_game = Cvar_Get("com_target_game", "0", CVAR_LATCH | CVAR_PROTECTED);
|
||||
com_target_demo = Cvar_Get("com_target_demo", "0", CVAR_LATCH | CVAR_PROTECTED);
|
||||
com_target_game = Cvar_Get("com_target_game", "0", CVAR_INIT|CVAR_PROTECTED);
|
||||
com_target_demo = Cvar_Get("com_target_demo", "0", CVAR_INIT|CVAR_PROTECTED);
|
||||
com_target_version = Cvar_Get("com_target_version", "0.00", CVAR_ROM);
|
||||
com_standalone = Cvar_Get("com_standalone", "0", CVAR_ROM);
|
||||
com_basegame = Cvar_Get("com_basegame", BASEGAME, CVAR_INIT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue