(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 8ba6f08ca6
commit eeb6381690
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;