(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.

This commit is contained in:
alberth 2011-12-04 10:52:08 +00:00
parent 51da427dae
commit 87fdac852c

View File

@ -914,12 +914,7 @@ static uint GetWindowZPriority(const Window *w)
++z_priority; ++z_priority;
case WC_SAVELOAD: case WC_SAVELOAD:
case WC_GAME_OPTIONS:
case WC_NETWORK_WINDOW: case WC_NETWORK_WINDOW:
case WC_GRF_PARAMETERS:
case WC_NEWGRF_TEXTFILE:
case WC_AI_LIST:
case WC_AI_SETTINGS:
++z_priority; ++z_priority;
case WC_CONSOLE: case WC_CONSOLE: