- Serialize Level.nousersave and Level.noautomap properly

- Also allow them to be settable directly in a map's MAPINFO block (NoUserSave and NoAutoMap respectively)
This commit is contained in:
nashmuhandes 2023-07-15 20:25:20 +08:00 committed by Magnus Norddahl
commit d09d5e0715
6 changed files with 9 additions and 0 deletions

View file

@ -1789,6 +1789,7 @@ void FLevelLocals::Init()
flags = 0;
flags2 = 0;
flags3 = 0;
flags9 = 0;
ImpactDecalCount = 0;
frozenstate = 0;
@ -1837,6 +1838,7 @@ void FLevelLocals::Init()
flags |= info->flags;
flags2 |= info->flags2;
flags3 |= info->flags3;
flags9 |= info->flags9;
levelnum = info->levelnum;
Music = info->Music;
musicorder = info->musicorder;