mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-29 22:01:55 +00:00
options_menu: forget selected item upon opening
This commit is contained in:
parent
b30423ff6a
commit
8bb3e4a595
1 changed files with 1 additions and 0 deletions
|
|
@ -1071,6 +1071,7 @@ void OptionsMenu::Open(bool isPause, SWA::EMenuType pauseMenuType)
|
||||||
g_categoryIndex = 0;
|
g_categoryIndex = 0;
|
||||||
g_categoryAnimMin = { 0.0f, 0.0f };
|
g_categoryAnimMin = { 0.0f, 0.0f };
|
||||||
g_categoryAnimMax = { 0.0f, 0.0f };
|
g_categoryAnimMax = { 0.0f, 0.0f };
|
||||||
|
g_selectedItem = nullptr;
|
||||||
|
|
||||||
/* Store button state so we can track it later
|
/* Store button state so we can track it later
|
||||||
and prevent the first item being selected. */
|
and prevent the first item being selected. */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue