Fix CHANGELEVEL_NOAUTOSAVE logic
This commit is contained in:
parent
e6305c55cd
commit
24de63f23f
1 changed files with 1 additions and 7 deletions
|
|
@ -1425,10 +1425,6 @@ void FLevelLocals::DoLoadLevel(const FString &nextmapname, int position, bool au
|
|||
{
|
||||
flags2 |= LEVEL2_PRERAISEWEAPON;
|
||||
}
|
||||
if (changeflags & CHANGELEVEL_NOAUTOSAVE)
|
||||
{
|
||||
flags9 |= LEVEL9_NOAUTOSAVEONENTER;
|
||||
}
|
||||
|
||||
maptime = 0;
|
||||
|
||||
|
|
@ -1514,10 +1510,8 @@ void FLevelLocals::DoLoadLevel(const FString &nextmapname, int position, bool au
|
|||
|
||||
|
||||
// [Nash] allow modder control of autosaving
|
||||
if (flags9 & LEVEL9_NOAUTOSAVEONENTER)
|
||||
{
|
||||
if (changeflags & CHANGELEVEL_NOAUTOSAVE)
|
||||
autosave = false;
|
||||
}
|
||||
|
||||
// [RH] Always save the game when entering a new
|
||||
if (autosave && !savegamerestore && disableautosave < 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue