summaryrefslogtreecommitdiff
path: root/src/hexen/mn_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/mn_menu.c')
-rw-r--r--src/hexen/mn_menu.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
index 301c5c1d..3d068b0e 100644
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1133,7 +1133,6 @@ boolean MN_Responder(event_t * event)
int i;
MenuItem_t *item;
extern boolean automapactive;
- static boolean shiftdown;
extern void H2_StartTitle(void);
extern void G_CheckDemoStatus(void);
char *textBuffer;
@@ -1175,13 +1174,9 @@ boolean MN_Responder(event_t * event)
return true;
}
- if (event->data1 == KEY_RSHIFT)
+ if (event->data1 != KEY_RSHIFT && event->type != ev_keydown)
{
- shiftdown = (event->type == ev_keydown);
- }
- if (event->type != ev_keydown)
- {
- return (false);
+ return false;
}
key = event->data1;