changeset 18538:93dac21a2cd6 draft

(svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window
author yexo <yexo@openttd.org>
date Thu, 01 Dec 2011 11:57:25 +0000
parents 1498d0c8c71d
children e3aaf6fcb70f
files src/window.cpp
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -905,12 +905,13 @@
 
 		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: