Remember cursor position in Sound Volume menu (#1863)

This commit is contained in:
Julia Nechaevskaya 2024-08-21 22:36:07 +03:00 committed by GitHub
parent 15fd3af56e
commit e67b6bef1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2164,7 +2164,7 @@ static boolean ShortcutResponder(const event_t *ev)
{ {
MN_StartControlPanel(); MN_StartControlPanel();
currentMenu = &SoundDef; currentMenu = &SoundDef;
itemOn = sfx_vol; itemOn = currentMenu->lastOn;
M_StartSound(sfx_swtchn); M_StartSound(sfx_swtchn);
return true; return true;
} }