From 2a642c66be7aef33ee7bac8ed22ca68cb1f21545 Mon Sep 17 00:00:00 2001 From: drfrag Date: Wed, 18 Sep 2019 20:52:47 +0200 Subject: [PATCH] - Fixed ancient ZDoom savegame slot selection bug. When creating new autosaves LastAccessed and LastSaved were not updated accordingly. --- src/menu/loadsavemenu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/menu/loadsavemenu.cpp b/src/menu/loadsavemenu.cpp index 86baab9088..9c79906e95 100644 --- a/src/menu/loadsavemenu.cpp +++ b/src/menu/loadsavemenu.cpp @@ -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; + } } //=============================================================================