mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- fixed: parent-less confirmation screens did not process any input.
This commit is contained in:
parent
5d4514060b
commit
1d468190a6
1 changed files with 15 additions and 18 deletions
|
@ -141,8 +141,6 @@ void DMessageBoxMenu::CloseSound()
|
|||
//=============================================================================
|
||||
|
||||
void DMessageBoxMenu::HandleResult(bool res)
|
||||
{
|
||||
if (mParentMenu != NULL)
|
||||
{
|
||||
if (mMessageMode == 0)
|
||||
{
|
||||
|
@ -151,7 +149,7 @@ void DMessageBoxMenu::HandleResult(bool res)
|
|||
mActionFunc(res);
|
||||
Close();
|
||||
}
|
||||
else if (mAction == NAME_None)
|
||||
else if (mAction == NAME_None && mParentMenu)
|
||||
{
|
||||
mParentMenu->MenuEvent(res ? MKEY_MBYes : MKEY_MBNo, false);
|
||||
Close();
|
||||
|
@ -164,7 +162,6 @@ void DMessageBoxMenu::HandleResult(bool res)
|
|||
CloseSound();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue