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 | 4071e36f36a88651d62391e162971784dab8538d (patch) | |
tree | 78766b7053f73a1ae5946272663d10eb5737a47e | |
parent | 9788ce3757dc1d02591ee9079f7115f9f497d684 (diff) | |
download | openttd-4071e36f36a88651d62391e162971784dab8538d.tar.xz |
(svn r14181) -Fix (r14175): Rail types are not road types
-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); |