Skip to content
Permalink
Browse files

add "nosave" cvar token

It makes a cvar value not be saved in a save file.
  • Loading branch information
mmaulwurff authored and coelckers committed Jan 5, 2020
1 parent a7534bb commit 56147ef4426939cedaf5702bb0cb123f8c674feb
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/d_main.cpp
@@ -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);

0 comments on commit 56147ef

Please sign in to comment.
You can’t perform that action at this time.