mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- added latching CVARs to CVARINFO
This commit is contained in:
parent
5716dfe050
commit
cdf0733c8b
1 changed files with 4 additions and 0 deletions
|
@ -1439,6 +1439,10 @@ void ParseCVarInfo()
|
||||||
{
|
{
|
||||||
cvarflags |= CVAR_CHEAT;
|
cvarflags |= CVAR_CHEAT;
|
||||||
}
|
}
|
||||||
|
else if (stricmp(sc.String, "latch") == 0)
|
||||||
|
{
|
||||||
|
cvarflags |= CVAR_LATCH;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sc.ScriptError("Unknown cvar attribute '%s'", sc.String);
|
sc.ScriptError("Unknown cvar attribute '%s'", sc.String);
|
||||||
|
|
Loading…
Reference in a new issue