448 w->flags4 |= WF_DISABLE_VP_SCROLL; |
448 w->flags4 |= WF_DISABLE_VP_SCROLL; |
449 WP(w,vp2_d).data_1 = 0; |
449 WP(w,vp2_d).data_1 = 0; |
450 WP(w,vp2_d).data_2 = 0; |
450 WP(w,vp2_d).data_2 = 0; |
451 WP(w,vp2_d).data_3 = 0; |
451 WP(w,vp2_d).data_3 = 0; |
452 i = GetIndustry(w->window_number); |
452 i = GetIndustry(w->window_number); |
453 AssignWindowViewport(w, 3, 17, 0xFE, 0x56, i->xy + TILE_XY(1,1), 1); |
453 AssignWindowViewport(w, 3, 17, 0xFE, 0x56, i->xy + TileDiffXY(1, 1), 1); |
454 } |
454 } |
455 } |
455 } |
456 |
456 |
457 static const Widget _industry_directory_widgets[] = { |
457 static const Widget _industry_directory_widgets[] = { |
458 { WWT_TEXTBTN, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, |
458 { WWT_TEXTBTN, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, |