diff src/main_gui.cpp @ 9240:5cedbfe95435 draft

(svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created.
author rubidium <rubidium@openttd.org>
date Thu, 15 May 2008 19:00:20 +0000 (2008-05-15)
parents a8b1f6fa5f79
children 2588c85f3a5a
line wrap: on
line diff
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -435,8 +435,7 @@
 
 void ShowVitalWindows()
 {
-	Window *w = AllocateToolbar();
-	DoZoomInOutWindow(ZOOM_NONE, w);
+	AllocateToolbar();
 
 	/* Status bad only for normal games */
 	if (_game_mode == GM_EDITOR) return;