- Renamed CVAR_NOSEND to CVAR_IGNORE to better reflect its intent.

- Separated CVAR_MODARCHIVE into CVAR_MOD|CVAR_ARCHIVE so that mod-defined cvars can still be
  identified when they aren't meant to be archived.

SVN r4281 (trunk)
This commit is contained in:
Randy Heit 2013-05-25 17:08:59 +00:00
commit 4fa198244c
6 changed files with 21 additions and 25 deletions

View file

@ -1379,7 +1379,7 @@ void ParseCVarInfo()
FString cvarname;
char *cvardefault = NULL;
ECVarType cvartype = CVAR_Dummy;
int cvarflags = CVAR_MODARCHIVE;
int cvarflags = CVAR_MOD|CVAR_ARCHIVE;
FBaseCVar *cvar;
// Check for flag tokens.
@ -1395,7 +1395,7 @@ void ParseCVarInfo()
}
else if (stricmp(sc.String, "noarchive") == 0)
{
cvarflags &= ~CVAR_MODARCHIVE;
cvarflags &= ~CVAR_ARCHIVE;
}
else
{