misc fixes/tweaks/stuff intended to get the emscripten port working better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4456 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cf893a1921
commit
3b51dae2c9
21 changed files with 1303 additions and 135 deletions
|
@ -479,6 +479,11 @@ void Cvar_Reset_f (void)
|
|||
if (gsearch)
|
||||
Q_strlwr(gsearch);
|
||||
|
||||
if (!strcmp(search, "*"))
|
||||
search = NULL;
|
||||
if (!strcmp(gsearch, "*"))
|
||||
gsearch = NULL;
|
||||
|
||||
for (grp=cvar_groups ; grp ; grp=grp->next)
|
||||
{
|
||||
if (gsearch)
|
||||
|
@ -519,7 +524,7 @@ void Cvar_Reset_f (void)
|
|||
}
|
||||
}
|
||||
|
||||
if ((cmd->flags & CVAR_NOSET) && !strcmp(search, "*"))
|
||||
if ((cmd->flags & CVAR_NOSET) && !search)
|
||||
continue;
|
||||
// reset cvar to default
|
||||
Cvar_Set(cmd, cmd->defaultstr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue