Mercurial > hg > openttd
diff src/road_gui.cpp @ 6701:8cd8e1fa4b16 draft
(svn r9933) -Fix (9925): unified a little too much.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 26 May 2007 12:34:25 +0000 |
parents | cb2e0e8820f5 |
children | 6ce333c8fd7e |
line wrap: on
line diff
--- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -645,6 +645,7 @@ 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]; }