summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/heretic/mn_menu.c5
-rw-r--r--src/hexen/mn_menu.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c
index 4958d9be..ab80d860 100644
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -1079,10 +1079,11 @@ boolean MN_Responder(event_t * event)
return true;
}
- if (event->data1 != KEY_RSHIFT && event->type != ev_keydown)
+ if (event->type != ev_keydown)
{
- return (false);
+ return false;
}
+
key = event->data1;
charTyped = event->data2;
diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
index 3d068b0e..a6dbd19e 100644
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1174,7 +1174,9 @@ boolean MN_Responder(event_t * event)
return true;
}
- if (event->data1 != KEY_RSHIFT && event->type != ev_keydown)
+ // Only care about keypresses beyond this point.
+
+ if (event->type != ev_keydown)
{
return false;
}