mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
fix the +gamedir problem and fix my QFile removal
This commit is contained in:
parent
3d59dfed98
commit
cb04fd6496
3 changed files with 5 additions and 3 deletions
|
@ -1711,7 +1711,7 @@ void Host_Init (quakeparms_t *parms)
|
|||
Cbuf_Execute_Sets ();
|
||||
|
||||
Cmd_StuffCmds_f ();
|
||||
Cbuf_Execute ();
|
||||
Cbuf_Execute_Sets ();
|
||||
|
||||
V_Init ();
|
||||
SCR_InitCvars ();
|
||||
|
|
|
@ -124,7 +124,6 @@ void
|
|||
Qclose(FILE *file)
|
||||
{
|
||||
fclose(file);
|
||||
free(file);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -1873,10 +1873,13 @@ void SV_Init (quakeparms_t *parms)
|
|||
fs_globalcfg = Cvar_Get("fs_globalcfg", FS_GLOBALCFG,
|
||||
CVAR_ROM, "global configuration file");
|
||||
Cmd_Exec_File (fs_globalcfg->string);
|
||||
|
||||
// execute sets again after the config file has been parsed ..
|
||||
Cbuf_Execute_Sets ();
|
||||
|
||||
// and now reprocess the cmdline's sets for overrides
|
||||
Cmd_StuffCmds_f ();
|
||||
Cbuf_Execute ();
|
||||
Cbuf_Execute_Sets ();
|
||||
|
||||
COM_Init ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue