Menus: reset options menu header position from shortcuts in Match Race and Host menus

- Match Race, Y button
- Host, Gameplay Options and Server Options
This commit is contained in:
James R 2024-03-07 09:08:15 -08:00
parent 958b2c68da
commit 5607e8e393
2 changed files with 7 additions and 0 deletions

View file

@ -212,6 +212,11 @@ static void M_OptionsMenuGoto(menu_t *assignment)
{
assignment->prevMenu = currentMenu;
M_SetupNextMenu(assignment, false);
if (currentMenu != &OPTIONS_MainDef)
{
optionsmenu.ticker = 0;
M_OptionsTick();
}
}
void M_VideoOptions(INT32 choice)

View file

@ -52,6 +52,8 @@ static void tick_routine(void)
{
case drace_mritems:
M_SetupNextMenu(&OPTIONS_GameplayItemsDef, false);
optionsmenu.ticker = 0;
M_OptionsTick();
break;
case drace_encore: