mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 12:59:33 +00:00
(svn r14181) -Fix (r14175): Rail types are not road types
This commit is contained in:
parent
e598fa4701
commit
38ee1c8d49
@ -618,7 +618,7 @@ static void ToolbarBuildRoadClick(Window *w)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user