1
0
Fork 0
forked from fte/fteqw

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

View file

@ -519,6 +519,8 @@ void Cvar_Reset_f (void)
} }
} }
if ((cmd->flags & CVAR_NOSET) && !strcmp(search, "*"))
continue;
// reset cvar to default // reset cvar to default
Cvar_Set(cmd, cmd->defaultstr); Cvar_Set(cmd, cmd->defaultstr);
} }