diff options
author | rubidium <rubidium@openttd.org> | 2009-03-02 22:57:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-02 22:57:47 +0000 |
commit | 9f2a906bc1cc3ccbeebf933b36f1a80bd44ea396 (patch) | |
tree | 7514d56ab72b15863906486d7256f8e5dd2cef01 /src/toolbar_gui.cpp | |
parent | 90841d55ab9bafb121615e8380fc628b7fb68358 (diff) | |
download | openttd-9f2a906bc1cc3ccbeebf933b36f1a80bd44ea396.tar.xz |
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 5b6793208..3b195f596 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -649,9 +649,6 @@ static void ToolbarBuildRoadClick(Window *w) const Company *c = GetCompany(_local_company); DropDownList *list = new DropDownList(); for (RoadType rt = ROADTYPE_BEGIN; rt != ROADTYPE_END; rt++) { - /* Highways don't exist */ - if (rt == ROADTYPE_HWAY) continue; - /* The standard road button is *always* available */ list->push_back(new DropDownListStringItem(STR_180A_ROAD_CONSTRUCTION + rt, rt, !(HasBit(c->avail_roadtypes, rt) || rt == ROADTYPE_ROAD))); } |