mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-07 17:11:17 +00:00
- Fixed ancient ZDoom savegame slot selection bug. When creating new autosaves LastAccessed and LastSaved were not updated accordingly.
This commit is contained in:
parent
b709a0b6b2
commit
2a642c66be
1 changed files with 4 additions and 0 deletions
|
@ -361,6 +361,10 @@ void FSavegameManager::NotifyNewSave(const FString &file, const FString &title,
|
||||||
if (quickSaveSlot == nullptr || quickSaveSlot == (FSaveGameNode*)1 || forceQuicksave) quickSaveSlot = node;
|
if (quickSaveSlot == nullptr || quickSaveSlot == (FSaveGameNode*)1 || forceQuicksave) quickSaveSlot = node;
|
||||||
LastAccessed = LastSaved = index;
|
LastAccessed = LastSaved = index;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
LastAccessed = ++LastSaved;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
|
Loading…
Reference in a new issue