MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / ResetFlaggedVariables

Method ResetFlaggedVariables

neo/framework/CVarSystem.cpp:825–832  ·  view source on GitHub ↗

============ idCVarSystemLocal::ResetFlaggedVariables ============ */

Source from the content-addressed store, hash-verified

823============
824*/
825void idCVarSystemLocal::ResetFlaggedVariables( int flags ) {
826 for( int i = 0; i < cvars.Num(); i++ ) {
827 idInternalCVar *cvar = cvars[i];
828 if ( cvar->GetFlags() & flags ) {
829 cvar->Set( NULL, true, true );
830 }
831 }
832}
833
834/*
835============

Callers 2

SpawnMethod · 0.80

Calls 3

NumMethod · 0.45
GetFlagsMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected