- 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

@ -6886,7 +6886,7 @@ scriptwait:
{
FBaseCVar *cvar = FindCVar (FBehavior::StaticLookupString (STACK(1)), NULL);
// Either the cvar doesn't exist, or it's for a mod that isn't loaded, so return 0.
if (cvar == NULL || (cvar->GetFlags() & CVAR_NOSEND))
if (cvar == NULL || (cvar->GetFlags() & CVAR_IGNORE))
{
STACK(1) = 0;
}