(svn r23382) -Fix [FS#4845] (r23336): NewGRF window and content download window were always hidden under the saveload window

This commit is contained in:
yexo 2011-12-01 11:57:25 +00:00
parent 721c74d279
commit 71c1ef5d26

View File

@ -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: