mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2024-11-15 00:41:21 +00:00
Don't copy default.cfg to savegame dir.
This commit is contained in:
parent
6f4f02f5bf
commit
08b4e6b1b4
3 changed files with 4 additions and 4 deletions
|
@ -1264,7 +1264,7 @@ typedef enum
|
||||||
TE_BLUEHYPERBLASTER, //27
|
TE_BLUEHYPERBLASTER, //27
|
||||||
TE_PLASMA_EXPLOSION, //28
|
TE_PLASMA_EXPLOSION, //28
|
||||||
TE_TUNNEL_SPARKS, //29
|
TE_TUNNEL_SPARKS, //29
|
||||||
//ROGUE
|
// ROGUE
|
||||||
TE_BLASTER2, //30
|
TE_BLASTER2, //30
|
||||||
TE_RAILTRAIL2, //31
|
TE_RAILTRAIL2, //31
|
||||||
TE_FLAME, //32
|
TE_FLAME, //32
|
||||||
|
|
|
@ -2577,10 +2577,10 @@ void FS_CopyConfigsToSavegameDir (void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
++cfgName; // move to after the '/'
|
++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!
|
// 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
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
Com_sprintf (dstCfgPath, sizeof(dstCfgPath), "%s/%s", FS_SaveGameDir(), cfgName);
|
Com_sprintf (dstCfgPath, sizeof(dstCfgPath), "%s/%s", FS_SaveGameDir(), cfgName);
|
||||||
|
|
|
@ -181,7 +181,7 @@ void Options_Effects_MenuInit ( void )
|
||||||
static const char *railtrail_names[] =
|
static const char *railtrail_names[] =
|
||||||
{
|
{
|
||||||
"colored spiral",
|
"colored spiral",
|
||||||
"colored beam", //laser
|
"colored beam", // laser
|
||||||
"colored devrail",
|
"colored devrail",
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue