diff options
Diffstat (limited to 'intro_gui.c')
-rw-r--r-- | intro_gui.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/intro_gui.c b/intro_gui.c index cde62d1d9..74716f0ca 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -266,6 +266,12 @@ static void AskQuitGameWndProc(Window *w, WindowEvent *e) { break; } break; + + case WE_KEYPRESS: /* Return to main menu on pressing 'Enter' */ + if (e->keypress.keycode == WKC_RETURN) + _switch_mode = SM_MENU; + break; + } } |