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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1052 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
84e79ad4a2
commit
11c1b1f67c
1 changed files with 5 additions and 1 deletions
|
@ -2072,9 +2072,13 @@ static void COM_Game_f (void)
|
|||
R_NewGame ();
|
||||
}
|
||||
ExtraMaps_NewGame ();
|
||||
//Cbuf_InsertText ("exec quake.rc\n");
|
||||
|
||||
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
|
||||
Con_Printf("\"game\" is \"%s\"\n", COM_SkipPath(com_gamedir));
|
||||
|
|
Loading…
Reference in a new issue