diff options
Diffstat (limited to 'src/heretic')
-rw-r--r-- | src/heretic/mn_menu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c index 4d394db1..4db108cf 100644 --- a/src/heretic/mn_menu.c +++ b/src/heretic/mn_menu.c @@ -1046,6 +1046,9 @@ boolean MN_Responder(event_t * event) extern void G_CheckDemoStatus(void); char *textBuffer; + // In testcontrols mode, none of the function keys should do anything + // - the only key is escape to quit. + if (testcontrols) { if (event->type == ev_quit @@ -1056,6 +1059,8 @@ boolean MN_Responder(event_t * event) I_Quit(); return true; } + + return false; } // "close" button pressed on window? |