mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 23:50:25 +00:00
This commit is contained in:
parent
96da5581ce
commit
a8a4737c5b
@ -1332,6 +1332,15 @@ static uint GetWindowZPriority(WindowClass wc)
|
|||||||
uint z_priority = 0;
|
uint z_priority = 0;
|
||||||
|
|
||||||
switch (wc) {
|
switch (wc) {
|
||||||
|
case WC_TOOLTIPS:
|
||||||
|
++z_priority;
|
||||||
|
FALLTHROUGH;
|
||||||
|
|
||||||
|
case WC_ERRMSG:
|
||||||
|
case WC_CONFIRM_POPUP_QUERY:
|
||||||
|
++z_priority;
|
||||||
|
FALLTHROUGH;
|
||||||
|
|
||||||
case WC_ENDSCREEN:
|
case WC_ENDSCREEN:
|
||||||
++z_priority;
|
++z_priority;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
@ -1340,10 +1349,6 @@ static uint GetWindowZPriority(WindowClass wc)
|
|||||||
++z_priority;
|
++z_priority;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
|
|
||||||
case WC_TOOLTIPS:
|
|
||||||
++z_priority;
|
|
||||||
FALLTHROUGH;
|
|
||||||
|
|
||||||
case WC_DROPDOWN_MENU:
|
case WC_DROPDOWN_MENU:
|
||||||
++z_priority;
|
++z_priority;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
@ -1362,8 +1367,6 @@ static uint GetWindowZPriority(WindowClass wc)
|
|||||||
++z_priority;
|
++z_priority;
|
||||||
FALLTHROUGH;
|
FALLTHROUGH;
|
||||||
|
|
||||||
case WC_ERRMSG:
|
|
||||||
case WC_CONFIRM_POPUP_QUERY:
|
|
||||||
case WC_NETWORK_ASK_RELAY:
|
case WC_NETWORK_ASK_RELAY:
|
||||||
case WC_MODAL_PROGRESS:
|
case WC_MODAL_PROGRESS:
|
||||||
case WC_NETWORK_STATUS_WINDOW:
|
case WC_NETWORK_STATUS_WINDOW:
|
||||||
|
Loading…
Reference in New Issue
Block a user