diff options
author | peter1138 <peter1138@openttd.org> | 2008-08-28 19:22:03 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-08-28 19:22:03 +0000 |
commit | 38ee1c8d499dd0289fb21eeba5394dd72cf344c8 (patch) | |
tree | 78766b7053f73a1ae5946272663d10eb5737a47e /src | |
parent | e598fa470194d9f3341e43d5bfc59399cde54a3e (diff) | |
download | openttd-38ee1c8d499dd0289fb21eeba5394dd72cf344c8.tar.xz |
(svn r14181) -Fix (r14175): Rail types are not road types
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 2267c1d08..f01ae972e 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -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); |