diff options
author | rubidium <rubidium@openttd.org> | 2008-05-15 19:00:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-15 19:00:20 +0000 |
commit | eeb6381690503c6122b464150c6b2ffdc855b251 (patch) | |
tree | 81f97039ec07852090575ed9e861886558dec2ad /src/main_gui.cpp | |
parent | 8ba6f08ca66468c7157c5eb721e4a8582532a48a (diff) | |
download | openttd-eeb6381690503c6122b464150c6b2ffdc855b251.tar.xz |
(svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 97caa6b39..afd874643 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -435,8 +435,7 @@ extern void ShowStatusBar(); void ShowVitalWindows() { - Window *w = AllocateToolbar(); - DoZoomInOutWindow(ZOOM_NONE, w); + AllocateToolbar(); /* Status bad only for normal games */ if (_game_mode == GM_EDITOR) return; |