mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-19 13:02:02 +02:00
Fixed wrong slot indexing in Frontend
This commit is contained in:
@@ -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') {
|
||||||
|
Reference in New Issue
Block a user