From f1926e7b81cd7e3e9d429590102dedb8d3e66f5a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 17 Nov 2013 02:17:40 +0000 Subject: Remove KEY_RSHIFT special-casing from Heretic/Hexen menu code to fix crashes when pressing shift while entering save game names (thanks chungy). Subversion-branch: /branches/v2-branch Subversion-revision: 2750 --- src/heretic/mn_menu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/heretic/mn_menu.c') 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; -- cgit v1.2.3