summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-12-04 10:52:08 +0000
committeralberth <alberth@openttd.org>2011-12-04 10:52:08 +0000
commit87fdac852c4d112d9726855ff98c978dd59f76fa (patch)
treef7a820dda7b36f975cf16c83e5408f8c298cee6e /src
parent51da427daede536ce7d021454e87dd0c89c6d99f (diff)
downloadopenttd-87fdac852c4d112d9726855ff98c978dd59f76fa.tar.xz
(svn r23421) -Fix [FS#4865, FS#4861] (r23393): The priority of WC_GAME_OPTIONS windows were too high, causing hiding of currency window as well.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 2468c5010..1abb7f463 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -914,12 +914,7 @@ 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: