summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-04-22 15:50:13 +0000
committerrubidium <rubidium@openttd.org>2011-04-22 15:50:13 +0000
commit835ae31f450d8faf5cc6cc77678e8512c21ba906 (patch)
tree597fdf48ade8318a70517cf1b6f8a609cd0277ea /src/window.cpp
parente2d5ce1b0ed775c5dbc92dc309fc93dea985e72f (diff)
downloadopenttd-835ae31f450d8faf5cc6cc77678e8512c21ba906.tar.xz
(svn r22358) -Codechange: WC_TOOLBAR_MENU isn't the right name when its only used for client list popups
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index b45e84443..b167cbb78 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2565,7 +2565,6 @@ restart_search:
w->window_class != WC_SELECT_GAME &&
w->window_class != WC_MAIN_TOOLBAR &&
w->window_class != WC_STATUS_BAR &&
- w->window_class != WC_TOOLBAR_MENU &&
w->window_class != WC_TOOLTIPS &&
(w->flags4 & WF_STICKY) == 0) { // do not delete windows which are 'pinned'
@@ -2626,7 +2625,6 @@ restart_search:
/** Delete all always on-top windows to get an empty screen */
void HideVitalWindows()
{
- DeleteWindowById(WC_TOOLBAR_MENU, 0);
DeleteWindowById(WC_MAIN_TOOLBAR, 0);
DeleteWindowById(WC_STATUS_BAR, 0);
}