summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-02 11:48:54 +0000
committeryexo <yexo@openttd.org>2011-12-02 11:48:54 +0000
commitfa930b15c75ec41b0f17cf1ee818f614f5cda0cd (patch)
tree9805a01ffb272a19c29658ef07d5e7675e69ba56
parent1bc1a419376b4d9cbd0153614aa8244d03247fc4 (diff)
downloadopenttd-fa930b15c75ec41b0f17cf1ee818f614f5cda0cd.tar.xz
(svn r23393) -Fix (r23382): AI / NewGRF sub-windows were now hidden under their parent windows
-rw-r--r--src/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index c6c1028dd..b6eb7aa08 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -912,6 +912,10 @@ static uint GetWindowZPriority(const Window *w)
case WC_SAVELOAD:
case WC_GAME_OPTIONS:
case WC_NETWORK_WINDOW:
+ case WC_GRF_PARAMETERS:
+ case WC_NEWGRF_TEXTFILE:
+ case WC_AI_LIST:
+ case WC_AI_SETTINGS:
++z_priority;
case WC_CONSOLE: