- Fixed ancient ZDoom savegame slot selection bug. When creating new autosaves LastAccessed and LastSaved were not updated accordingly.

This commit is contained in:
drfrag 2019-09-18 20:52:47 +02:00 committed by Christoph Oelckers
parent b709a0b6b2
commit 2a642c66be
1 changed files with 4 additions and 0 deletions

View File

@ -361,6 +361,10 @@ void FSavegameManager::NotifyNewSave(const FString &file, const FString &title,
if (quickSaveSlot == nullptr || quickSaveSlot == (FSaveGameNode*)1 || forceQuicksave) quickSaveSlot = node;
LastAccessed = LastSaved = index;
}
else
{
LastAccessed = ++LastSaved;
}
}
//=============================================================================