diff options
author | alberth <alberth@openttd.org> | 2011-12-04 11:58:56 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-12-04 11:58:56 +0000 |
commit | 2cf284154cf1b2447be22595c32d935901161939 (patch) | |
tree | 5f7535b8fec02a5fdfbc5e9bf215bd27d54668ef | |
parent | 5891099f24c7cb1a1d0165774ed839164f8674fd (diff) | |
download | openttd-2cf284154cf1b2447be22595c32d935901161939.tar.xz |
(svn r23423) -Revert (r23421): NewGRF windows may not be moved to normal priority.
-rw-r--r-- | src/window.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp index 1abb7f463..2468c5010 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -914,7 +914,12 @@ static uint GetWindowZPriority(const Window *w) ++z_priority; 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: |