mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
exec default.cfg and config.cfg upon in-game gamedir changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1052 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
696214e82e
commit
04ec6efeb3
1 changed files with 5 additions and 1 deletions
|
@ -2072,9 +2072,13 @@ static void COM_Game_f (void)
|
||||||
R_NewGame ();
|
R_NewGame ();
|
||||||
}
|
}
|
||||||
ExtraMaps_NewGame ();
|
ExtraMaps_NewGame ();
|
||||||
//Cbuf_InsertText ("exec quake.rc\n");
|
|
||||||
|
|
||||||
Con_Printf("\"game\" changed to \"%s\"\n", COM_SkipPath(com_gamedir));
|
Con_Printf("\"game\" changed to \"%s\"\n", COM_SkipPath(com_gamedir));
|
||||||
|
|
||||||
|
//Cbuf_InsertText ("exec quake.rc\n");
|
||||||
|
// full quake.rc can result in unpredictable results, run config.cfg instead.
|
||||||
|
Cbuf_InsertText ("exec config.cfg\n");
|
||||||
|
Cbuf_InsertText ("exec default.cfg\n"); // ... but after default.cfg.
|
||||||
}
|
}
|
||||||
else //Diplay the current gamedir
|
else //Diplay the current gamedir
|
||||||
Con_Printf("\"game\" is \"%s\"\n", COM_SkipPath(com_gamedir));
|
Con_Printf("\"game\" is \"%s\"\n", COM_SkipPath(com_gamedir));
|
||||||
|
|
Loading…
Reference in a new issue