mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed keycodes for confirmation menu.
This commit is contained in:
parent
f3b6343e53
commit
fa0be4d4a9
1 changed files with 2 additions and 2 deletions
|
@ -181,12 +181,12 @@ class MessageBoxMenu : Menu
|
||||||
int ch = ev.data1;
|
int ch = ev.data1;
|
||||||
ch = ch >= 65 && ch <91? ch + 32 : ch;
|
ch = ch >= 65 && ch <91? ch + 32 : ch;
|
||||||
|
|
||||||
if (ch == 78 /*'n'*/ || ch == 32)
|
if (ch == 110 /*'n'*/ || ch == 32)
|
||||||
{
|
{
|
||||||
HandleResult(false);
|
HandleResult(false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (ch == 89 /*'y'*/)
|
else if (ch == 121 /*'y'*/)
|
||||||
{
|
{
|
||||||
HandleResult(true);
|
HandleResult(true);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue