mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-02 10:01:54 +00:00
fix handling of +set on the command line so the global config file can be
overridden (so long as it doesn't use setrom:)
This commit is contained in:
parent
42b3a83bd9
commit
c67a1b37e5
2 changed files with 7 additions and 1 deletions
|
@ -1606,6 +1606,10 @@ void Host_Init (void)
|
|||
Cmd_Exec_File (fs_globalcfg->string);
|
||||
Cbuf_Execute_Sets ();
|
||||
|
||||
// execute +set again to override the config file
|
||||
Cmd_StuffCmds_f ();
|
||||
Cbuf_Execute_Sets ();
|
||||
|
||||
CL_Cam_Init_Cvars ();
|
||||
CL_Input_Init_Cvars ();
|
||||
CL_Init_Cvars ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue