mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
add "nosave" cvar token
It makes a cvar value not be saved in a save file.
This commit is contained in:
parent
4dc6ea4091
commit
b209fd9572
1 changed files with 4 additions and 0 deletions
|
@ -1477,6 +1477,10 @@ void ParseCVarInfo()
|
|||
{
|
||||
cvarflags |= CVAR_LATCH;
|
||||
}
|
||||
else if (stricmp(sc.String, "nosave") == 0)
|
||||
{
|
||||
cvarflags |= CVAR_NOSAVE;
|
||||
}
|
||||
else
|
||||
{
|
||||
sc.ScriptError("Unknown cvar attribute '%s'", sc.String);
|
||||
|
|
Loading…
Reference in a new issue