@@ -893,54 +893,49 @@ static uint GetWindowZPriority(const Win
case WC_HIGHSCORE:
++z_priority;
case WC_TOOLTIPS:
case WC_DROPDOWN_MENU:
case WC_MAIN_TOOLBAR:
case WC_STATUS_BAR:
case WC_QUERY_STRING:
case WC_ERRMSG:
case WC_CONFIRM_POPUP_QUERY:
case WC_MODAL_PROGRESS:
case WC_NETWORK_STATUS_WINDOW:
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:
case WC_CONSOLE:
case WC_SEND_NETWORK_MSG:
case WC_NEWS_WINDOW:
default:
case WC_MAIN_WINDOW:
return z_priority;
}
/**
* Adds a window to the z-ordering, according to its z-priority.
* @param w Window to add
*/
static void AddWindowToZOrdering(Window *w)
{
assert(w->z_front == NULL && w->z_back == NULL);
Status change: