diff options
author | frosch <frosch@openttd.org> | 2012-05-07 19:34:51 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-07 19:34:51 +0000 |
commit | 6334e13d12f23b6ed74aa4f6986720e4d5e60277 (patch) | |
tree | 9ae6d2e43850d17182044702681354c29e9f84e0 /src/window.cpp | |
parent | 22707c26f58cf067080065c6dbd227522493ca9c (diff) | |
download | openttd-6334e13d12f23b6ed74aa4f6986720e4d5e60277.tar.xz |
(svn r24214) -Fix [FS#5159] (r22794): The confirmation window to abort world generation was hidden during world generation, so actually you could not abort it.
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index 551161882..6e2916f9e 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -557,7 +557,7 @@ static bool MayBeShown(const Window *w) switch (w->window_class) { case WC_MAIN_WINDOW: ///< The background, i.e. the game. case WC_MODAL_PROGRESS: ///< The actual progress window. - case WC_QUERY_STRING: ///< The abort window. + case WC_CONFIRM_POPUP_QUERY: ///< The abort window. return true; default: |