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:
Spoike 2013-05-14 12:59:37 +00:00
parent 4ae77514af
commit 5086f30e79
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}