diff options
author | rubidium <rubidium@openttd.org> | 2008-04-06 22:32:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-06 22:32:20 +0000 |
commit | bd432258cbbf29a2d37154914aa2361bdc218fbb (patch) | |
tree | 397ef733d88fb8d1a2ef21941b6a693ad03870e0 /src/road_gui.cpp | |
parent | 949762fc65121d152d85f82902e2a67f95546db0 (diff) | |
download | openttd-bd432258cbbf29a2d37154914aa2361bdc218fbb.tar.xz |
(svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r-- | src/road_gui.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 31c1dad26..c483b3fa6 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -882,7 +882,10 @@ static void RoadStationPickerWndProc(Window *w, WindowEvent *e) int text_end = DrawStationCoverageAreaText(2, 146, (w->window_class == WC_BUS_STATION) ? SCT_PASSENGERS_ONLY : SCT_NON_PASSENGERS_ONLY, - 3) + 4; + 3, false); + text_end = DrawStationCoverageAreaText(2, text_end + 4, + (w->window_class == WC_BUS_STATION) ? SCT_PASSENGERS_ONLY : SCT_NON_PASSENGERS_ONLY, + 3, true) + 4; if (text_end > w->widget[BRSW_BACKGROUND].bottom) { SetWindowDirty(w); ResizeWindowForWidget(w, BRSW_BACKGROUND, 0, text_end - w->widget[BRSW_BACKGROUND].bottom); |