(svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created.

This commit is contained in:
rubidium
2008-05-15 19:00:20 +00:00
parent 7c10fb0023
commit d87fc4d534
3 changed files with 40 additions and 47 deletions

View File

@@ -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;