forked from mirror/OpenTTD
(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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user