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 | 7831346ef8924c757fbd763c225c7b29b665604f (patch) | |
tree | 7514d56ab72b15863906486d7256f8e5dd2cef01 /src/toolbar_gui.cpp | |
parent | 6dd3703a4caafff9a56d878ffac6ce322739067d (diff) | |
download | openttd-7831346ef8924c757fbd763c225c7b29b665604f.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))); } |