summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-01 11:57:25 +0000
committeryexo <yexo@openttd.org>2011-12-01 11:57:25 +0000
commit71c1ef5d264c5c55cc02b57fe1f9884b50e5400b (patch)
treed972f67670e3dcb266f68b2631e31d51dc2d37b3 /src
parent721c74d2796788272e5a1f745ce7e4acab0d6873 (diff)
downloadopenttd-71c1ef5d264c5c55cc02b57fe1f9884b50e5400b.tar.xz
(svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/window.cpp b/src/window.cpp
index b1b37ff65..c6c1028dd 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -905,12 +905,13 @@ static uint GetWindowZPriority(const Window *w)
case WC_ERRMSG:
case WC_CONFIRM_POPUP_QUERY:
+ case WC_MODAL_PROGRESS:
+ case WC_NETWORK_STATUS_WINDOW:
++z_priority;
case WC_SAVELOAD:
- ++z_priority;
-
- case WC_MODAL_PROGRESS:
+ case WC_GAME_OPTIONS:
+ case WC_NETWORK_WINDOW:
++z_priority;
case WC_CONSOLE: