Don't copy default.cfg to savegame dir.

This commit is contained in:
Knightmare66 2020-10-26 12:48:48 -04:00
parent 6f4f02f5bf
commit 08b4e6b1b4
3 changed files with 4 additions and 4 deletions

View file

@ -1264,7 +1264,7 @@ typedef enum
TE_BLUEHYPERBLASTER, //27
TE_PLASMA_EXPLOSION, //28
TE_TUNNEL_SPARKS, //29
//ROGUE
// ROGUE
TE_BLASTER2, //30
TE_RAILTRAIL2, //31
TE_FLAME, //32

View file

@ -2577,10 +2577,10 @@ void FS_CopyConfigsToSavegameDir (void)
continue;
}
++cfgName; // move to after the '/'
// don't copy configs written by other engines
// don't copy default.cfg or configs written by other engines
// TODO: keep this up to date!
// config.cfg, aprconfig.cfg, bqconfig.cfg, eglcfg.cfg, maxconfig.cfg, q2config.cfg, q2b_config.cfg, q2econfig.cfg, xpconfig.cfg, yq2.cfg
if ( (strstr(cfgName, "config.cfg") && stricmp(cfgName, "kmq2config.cfg")) || !stricmp(cfgName, "eglcfg.cfg") || !stricmp(cfgName, "yq2.cfg") ) {
if ( (strstr(cfgName, "config.cfg") && stricmp(cfgName, "kmq2config.cfg")) || !stricmp(cfgName, "default.cfg") || !stricmp(cfgName, "eglcfg.cfg") || !stricmp(cfgName, "yq2.cfg") ) {
continue;
}
Com_sprintf (dstCfgPath, sizeof(dstCfgPath), "%s/%s", FS_SaveGameDir(), cfgName);

View file

@ -181,7 +181,7 @@ void Options_Effects_MenuInit ( void )
static const char *railtrail_names[] =
{
"colored spiral",
"colored beam", //laser
"colored beam", // laser
"colored devrail",
0
};