allow quickload before quicksave

one less question to slow down quicksave/quickload
This commit is contained in:
Fabian Greffrath 2022-02-04 11:27:32 +01:00
parent 4c0a607562
commit 67fd3a51a5

View File

@ -893,6 +893,10 @@ void M_LoadSelect(int choice)
M_ClearMenus ();
if (name) (free)(name);
// [crispy] allow quickload before quicksave
if (quickSaveSlot == -2)
quickSaveSlot = choice;
// [crispy] save the last game you loaded
SaveDef.lastOn = choice;
}
@ -1564,7 +1568,11 @@ void M_QuickLoad(void)
if (quickSaveSlot < 0)
{
M_StartMessage(s_QSAVESPOT,NULL,false); // Ty 03/27/98 - externalized
// [crispy] allow quickload before quicksave
M_StartControlPanel();
M_ReadSaveStrings();
M_SetupNextMenu(&LoadDef);
quickSaveSlot = -2; // means to pick a slot now
return;
}
M_QuickLoadResponse('y');