mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Fixed: Options selected in Strife dialogues using the number keys were off by one.
SVN r2972 (trunk)
This commit is contained in:
parent
810ca55e2a
commit
db2147c700
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ public:
|
|||
{
|
||||
if (ev->type == EV_GUI_Event && ev->subtype == EV_GUI_Char && ev->data1 >= '0' && ev->data1 <= '9')
|
||||
{ // Activate an item of type numberedmore (dialogue only)
|
||||
mSelection = ev->data1 == '0' ? 10 : ev->data1 - '0';
|
||||
mSelection = ev->data1 == '0' ? 9 : ev->data1 - '1';
|
||||
return MenuEvent(MKEY_Enter, false);
|
||||
}
|
||||
return Super::Responder(ev);
|
||||
|
|
Loading…
Reference in a new issue