mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-13 22:42:07 +00:00
consider LEVEL9_NOAUTOSAVEONENTER unfriendly
This commit is contained in:
parent
f3b4c6047e
commit
ed5d81271b
1 changed files with 2 additions and 0 deletions
|
@ -1525,11 +1525,13 @@ void FLevelLocals::DoLoadLevel(const FString &nextmapname, int position, bool au
|
|||
DoDeferedScripts (); // [RH] Do script actions that were triggered on another map.
|
||||
|
||||
|
||||
#ifdef UNFRIENDLY_OPTIONS
|
||||
// [Nash] allow modder control of autosaving
|
||||
if (flags9 & LEVEL9_NOAUTOSAVEONENTER)
|
||||
{
|
||||
autosave = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
// [RH] Always save the game when entering a new
|
||||
if (autosave && !savegamerestore && disableautosave < 1)
|
||||
|
|
Loading…
Reference in a new issue