mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-31 19:20:33 +00:00
- fixed: The menu code should not reset the global input state when trying to close a menu with none open.
This commit is contained in:
parent
e3f8fca36e
commit
8374b9e1b4
1 changed files with 3 additions and 2 deletions
|
@ -922,6 +922,7 @@ void M_Drawer (void)
|
|||
|
||||
void M_ClearMenus (bool final)
|
||||
{
|
||||
if (menuactive == MENU_Off) return;
|
||||
M_DemoNoPlay = false;
|
||||
transition.previous = transition.current = nullptr;
|
||||
transition.dir = 0;
|
||||
|
@ -937,8 +938,8 @@ void M_ClearMenus (bool final)
|
|||
menuactive = MENU_Off;
|
||||
if (!final)
|
||||
{
|
||||
mouseGrabInput(true);
|
||||
gi->MenuClosed();
|
||||
mouseGrabInput(true);
|
||||
gi->MenuClosed();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue