forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user