Changeset - r10022:2a486cea0ce9
[Not reviewed]
master
0 1 0
peter1138 - 16 years ago 2008-08-28 19:22:03
peter1138@openttd.org
(svn r14181) -Fix (r14175): Rail types are not road types
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/toolbar_gui.cpp
Show inline comments
 
@@ -618,7 +618,7 @@ static void ToolbarBuildRoadClick(Window
 
		if (rt == ROADTYPE_HWAY) continue;
 

	
 
		/* The standard road button is *always* available */
 
		list->push_back(new DropDownListStringItem(STR_180A_ROAD_CONSTRUCTION + rt, rt, !(HasBit(p->avail_railtypes, rt) || rt == ROADTYPE_ROAD)));
 
		list->push_back(new DropDownListStringItem(STR_180A_ROAD_CONSTRUCTION + rt, rt, !(HasBit(p->avail_roadtypes, rt) || rt == ROADTYPE_ROAD)));
 
	}
 
	ShowDropDownList(w, list, _last_built_roadtype, TBN_ROADS, 140, true, true);
 
	SndPlayFx(SND_15_BEEP);
0 comments (0 inline, 0 general)