diff options
author | rubidium <rubidium@openttd.org> | 2007-07-12 13:40:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-12 13:40:24 +0000 |
commit | 690a27f8ceca85e5ac4dc39a9f8f9ac9c79b7bca (patch) | |
tree | e986cc1d16371565e3936109564f6db81a52476d /src/road_gui.cpp | |
parent | 009a47dfcd5e2821f07edda9e11c1614052d1de4 (diff) | |
download | openttd-690a27f8ceca85e5ac4dc39a9f8f9ac9c79b7bca.tar.xz |
(svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 405f7a4dc..43c5e5b80 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -579,7 +579,7 @@ static void RoadStationPickerWndProc(Window *w, WindowEvent *e) StationPickerDrawSprite(171, 85, RAILTYPE_BEGIN, _cur_roadtype, image + 1); DrawStationCoverageAreaText(2, 146, - ((w->window_class == WC_BUS_STATION) ? (1 << CT_PASSENGERS) : ~(1 << CT_PASSENGERS)), + (w->window_class == WC_BUS_STATION) ? SCT_PASSENGERS_ONLY : SCT_NON_PASSENGERS_ONLY, 3); } break; |