diff options
author | rubidium <rubidium@openttd.org> | 2006-09-04 17:30:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-09-04 17:30:30 +0000 |
commit | a7cfb80c40d9a4c544ece10872fd3808f9f59f8d (patch) | |
tree | 6cd5046c6a647012a61f5f97b8c5794446df92c5 /intro_gui.c | |
parent | 56d06ba0a75b7157fdd236327cd08f9b0538551e (diff) | |
download | openttd-a7cfb80c40d9a4c544ece10872fd3808f9f59f8d.tar.xz |
(svn r6380) -Codechange: unify all ways to quit OTTD.
This means that in the intro menu the 'Quit' button immediatelly quits
and the 'Quit' in the menu of the normal game and scenario editor
immediatelly quits when the 'autosave_on_exit' patch is turned on.
This is the same way as the OS/window manager initiated quits, like
alt-F4 and the 'x' in the (OS/window manager drawn) title bar of OTTD.
Diffstat (limited to 'intro_gui.c')
-rw-r--r-- | intro_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intro_gui.c b/intro_gui.c index c10a3bc80..9b12a1a5b 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -77,7 +77,7 @@ static void SelectGameWndProc(Window *w, WindowEvent *e) case 12: ShowGameOptions(); break; case 13: ShowGameDifficulty(); break; case 14: ShowPatchesSelection(); break; - case 15: AskExitGame(); break; + case 15: HandleExitGameRequest(); break; } break; |