don't spam about unwritable cvars when you're trying to reset all cvars. its a bit pointless.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4368 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
4ae77514af
commit
5086f30e79
1 changed files with 2 additions and 0 deletions
|
@ -519,6 +519,8 @@ void Cvar_Reset_f (void)
|
|||
}
|
||||
}
|
||||
|
||||
if ((cmd->flags & CVAR_NOSET) && !strcmp(search, "*"))
|
||||
continue;
|
||||
// reset cvar to default
|
||||
Cvar_Set(cmd, cmd->defaultstr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue