Changeset - r9014:ca6effb081a8
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-04-21 07:57:51
rubidium@openttd.org
(svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often.
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -1417,8 +1417,7 @@ static Window *PopupMainPlayerToolbMenu(
 

	
 
Window *AllocateToolbar()
 
{
 
	/* Clean old GUI values */
 
	_last_built_railtype = RAILTYPE_RAIL;
 
	/* Clean old GUI values; railtype is (re)set by rail_gui.cpp */
 
	_last_built_roadtype = ROADTYPE_ROAD;
 

	
 
	Window *w = AllocateWindowDesc((_game_mode != GM_EDITOR) ? &_toolb_normal_desc : &_toolb_scen_desc);
0 comments (0 inline, 0 general)