fix save confirmation

This commit is contained in:
Roman Fomin 2024-11-30 13:55:22 +07:00
parent 3ba6c84663
commit 4c9da401a2

View File

@ -3026,13 +3026,13 @@ boolean M_Responder(event_t *ev)
savegamestrings[saveSlot][saveCharIndex] = 0;
}
}
else if (ch == KEY_ESCAPE) // phares 3/7/98
else if (action == MENU_ESCAPE) // phares 3/7/98
{
I_StopTextInput();
saveStringEnter = 0;
strcpy(&savegamestrings[saveSlot][0], saveOldString);
}
else if (ch == KEY_ENTER) // phares 3/7/98
else if (action == MENU_ENTER) // phares 3/7/98
{
I_StopTextInput();
saveStringEnter = 0;