From afd6b43ffb5230297e531389a90e07bb32fa639d Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 31 Jan 2020 17:16:32 +0200 Subject: Fixed wrong slot indexing in Frontend --- src/core/Frontend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index a75c464b..113ae345 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -588,7 +588,7 @@ void CMenuManager::Draw() CFont::SetRightJustifyOff(); textToPrint[MENUCOLUMN_LEFT] = GetNameOfSavedGame(i - 1); - if (Slots[i-1] != SLOT_EMPTY) + if (Slots[i] != SLOT_EMPTY) textToPrint[MENUCOLUMN_RIGHT] = GetSavedGameDateAndTime(i - 1); if (textToPrint[MENUCOLUMN_LEFT][0] == '\0') { -- cgit v1.2.3