1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 10:59:12 +00:00

(svn r9933) -Fix (9925): unified a little too much.

This commit is contained in:
rubidium
2007-05-26 12:34:25 +00:00
parent 79fe6c57cc
commit 1b2016a4b2

View File

@@ -645,6 +645,7 @@ static void ShowRVStationPicker(RoadStop::Type rs)
Window *w = AllocateWindowDesc(&_rv_station_picker_desc);
if (w == NULL) return;
w->window_class = (rs == RoadStop::BUS) ? WC_BUS_STATION : WC_TRUCK_STATION;
w->widget[1].data = _road_type_infos[_cur_roadtype].picker_title[rs];
for (uint i = 3; i < 9; i++) w->widget[i].tooltips = _road_type_infos[_cur_roadtype].picker_tooltip[rs];
}