diff options
Diffstat (limited to 'src/heretic/mn_menu.c')
-rw-r--r-- | src/heretic/mn_menu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/heretic/mn_menu.c b/src/heretic/mn_menu.c index 0bc9d994..1dc1f289 100644 --- a/src/heretic/mn_menu.c +++ b/src/heretic/mn_menu.c @@ -1042,6 +1042,14 @@ boolean MN_Responder(event_t * event) extern void G_CheckDemoStatus(void); char *textBuffer; + // "close" button pressed on window? + if (event->type == ev_quit) + { + SCQuitGame(0); + S_StartSound(NULL, sfx_chat); + return true; + } + if (event->data1 == KEY_RSHIFT) { shiftdown = (event->type == ev_keydown); |