mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
NQ defined CVAR_HEAP for user-created Cvars, did nothing with it though.
This commit is contained in:
parent
2ae91bbbc6
commit
4dd9f74fc0
1 changed files with 1 additions and 2 deletions
|
@ -321,7 +321,7 @@ void Cvar_Set_f(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
var = Cvar_Get (var_name, value, CVAR_USER_CREATED|CVAR_HEAP,
|
||||
var = Cvar_Get (var_name, value, CVAR_USER_CREATED,
|
||||
"User created cvar");
|
||||
}
|
||||
}
|
||||
|
@ -476,7 +476,6 @@ cvar_t *Cvar_Get(char *name, char *string, int cvarflags, char *description)
|
|||
}
|
||||
// Cvar does exist, so we update the flags and return.
|
||||
v->flags ^= CVAR_USER_CREATED;
|
||||
v->flags ^= CVAR_HEAP;
|
||||
v->flags |= cvarflags;
|
||||
if (!strcmp (v->description,"User created cvar"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue