Out with the old ConVar accessibility hacks, in with the new.

This commit is contained in:
Nick Hastings
2018-05-06 12:59:33 -04:00
parent c993712438
commit 467d57059a
11 changed files with 56 additions and 3788 deletions
+5 -2
View File
@@ -412,8 +412,11 @@ bool SM_ExecuteConfig(IPlugin *pl, AutoConfig *cfg, bool can_create)
for (iter = convars->begin(); iter != convars->end(); iter++)
{
const ConVar *cvar = (*iter);
if ((cvar->GetFlags() & FCVAR_DONTRECORD) == FCVAR_DONTRECORD)
#if SOURCE_ENGINE >= SE_ORANGEBOX
if (cvar->IsFlagSet(FCVAR_DONTRECORD))
#else
if (cvar->IsBitSet(FCVAR_DONTRECORD))
#endif
{
continue;
}