changeset 5125 | d1331d6dbdcb |
parent 5078 | b9fb462c82f2 |
child 5198 | 7046e5b0b5bc |
--- a/roadveh_gui.c Sat Nov 18 16:47:02 2006 +0000 +++ b/roadveh_gui.c Sat Nov 18 17:04:44 2006 +0000 @@ -534,8 +534,7 @@ DeleteWindowById(WC_BUILD_VEHICLE, tile); - w = AllocateWindowDesc(&_new_road_veh_desc); - w->window_number = tile; + w = AllocateWindowDescFront(&_new_road_veh_desc, tile); w->vscroll.cap = 8; w->widget[2].data = (w->vscroll.cap << 8) + 1;