Made the Continue and Load options not appearing work again.

This must have been screwed up a loooong time ago. Anyway, it now
hides these menu options as it should when there is no autosave
available.
This commit is contained in:
onpon4 2016-01-09 22:26:31 -05:00
parent 9dedf500c8
commit 285fb8e614
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,7 @@ int initSaveSlots()
Game tempGame;
struct stat fileInfo;
int modTime = 0;
int continueSaveIndex = 0;
int continueSaveIndex = -1;
FILE *fp;
@ -58,6 +58,7 @@ int initSaveSlots()
if (i == 0)
{
sprintf(saveSlot[i], "AUTOSAVE");
continueSaveIndex = 0;
}
else
{
@ -102,6 +103,7 @@ int initSaveSlots()
if (i == 0)
{
sprintf(saveSlot[i], "AUTOSAVE");
continueSaveIndex = 0;
}
else
{