Fixed wrong slot indexing in Frontend
This commit is contained in:
parent
7df91ca2f9
commit
afd6b43ffb
@ -588,7 +588,7 @@ void CMenuManager::Draw()
|
|||||||
CFont::SetRightJustifyOff();
|
CFont::SetRightJustifyOff();
|
||||||
textToPrint[MENUCOLUMN_LEFT] = GetNameOfSavedGame(i - 1);
|
textToPrint[MENUCOLUMN_LEFT] = GetNameOfSavedGame(i - 1);
|
||||||
|
|
||||||
if (Slots[i-1] != SLOT_EMPTY)
|
if (Slots[i] != SLOT_EMPTY)
|
||||||
textToPrint[MENUCOLUMN_RIGHT] = GetSavedGameDateAndTime(i - 1);
|
textToPrint[MENUCOLUMN_RIGHT] = GetSavedGameDateAndTime(i - 1);
|
||||||
|
|
||||||
if (textToPrint[MENUCOLUMN_LEFT][0] == '\0') {
|
if (textToPrint[MENUCOLUMN_LEFT][0] == '\0') {
|
||||||
|
Loading…
Reference in New Issue
Block a user