diff options
author | tron <tron@openttd.org> | 2004-11-15 10:04:57 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-15 10:04:57 +0000 |
commit | 01e88bb61d00c96991d9280cea6bc188cc42db33 (patch) | |
tree | 3d1fd1b3ad405251c441a99e5d7150502f72b5c2 /main_gui.c | |
parent | 95a3e4fe1fa30090551a5d5edc8e5ba7b2a8c622 (diff) | |
download | openttd-01e88bb61d00c96991d9280cea6bc188cc42db33.tar.xz |
(svn r623) -Feature: [ 1066504 ] Pause key pauses the game
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index 18a6ab132..dbacc2d67 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1681,7 +1681,10 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e) if (local == 0xff) local = 0; // spectator switch(e->keypress.keycode) { - case WKC_F1: ToolbarPauseClick(w); break; + case WKC_F1: + case WKC_PAUSE: + ToolbarPauseClick(w); + break; case WKC_F2: ShowGameOptions(); break; case WKC_F3: MenuClickSaveLoad(0); break; case WKC_F4: ShowSmallMap(); break; |