void C_RestoreCVars (void) { for (unsigned int i = 0; i < CVarBackups.Size(); ++i) { cvar_set(CVarBackups[i].Name, CVarBackups[i].String); } C_ForgetCVars(); }
void C_RestoreCVars (void) { struct backup_s *backup = CVarBackups; int i; for (i = numbackedup; i; i--, backup++) { cvar_set (backup->name, backup->string); } C_ForgetCVars(); }