mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
isDedicted fixes
This commit is contained in:
parent
9daba0eef7
commit
a220f5d87d
1 changed files with 2 additions and 2 deletions
|
@ -278,7 +278,7 @@ Host_WriteConfiguration (void)
|
|||
|
||||
// dedicated servers initialize the host but don't parse and set the
|
||||
// config.cfg cvars
|
||||
if (cl_writecfg->int_val && (host_initialized & !isDedicated)) {
|
||||
if (!isDedicated && cl_writecfg->int_val && host_initialized) {
|
||||
char *path = va ("%s/config.cfg", com_gamedir);
|
||||
f = Qopen (path, "w");
|
||||
if (!f) {
|
||||
|
@ -988,7 +988,7 @@ Host_Init (quakeparms_t *parms)
|
|||
Cmd_Exec_File (fs_usercfg->string);
|
||||
// reparse the command line for + commands other than set
|
||||
// (sets still done, but it doesn't matter)
|
||||
if (cl_quakerc->int_val && check_quakerc ())
|
||||
if (isDedicated || (cl_quakerc->int_val && check_quakerc ()))
|
||||
Cmd_StuffCmds_f ();
|
||||
|
||||
Hunk_AllocName (0, "-HOST_HUNKLEVEL-");
|
||||
|
|
Loading…
Reference in a new issue