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:
parent
9dedf500c8
commit
285fb8e614
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue