main_gui.c
changeset 2866 2a7069caa46f
parent 2828 996de8e891c7
child 2951 2db3adee7736
child 9929 9dc2b9d72d55
equal deleted inserted replaced
2865:7712ca7b2933 2866:2a7069caa46f
   789 	PopupMainToolbMenu(w, 258, 11, STR_015A_COMPANY_LEAGUE_TABLE, 2, 0);
   789 	PopupMainToolbMenu(w, 258, 11, STR_015A_COMPANY_LEAGUE_TABLE, 2, 0);
   790 }
   790 }
   791 
   791 
   792 static void ToolbarIndustryClick(Window *w)
   792 static void ToolbarIndustryClick(Window *w)
   793 {
   793 {
   794 	PopupMainToolbMenu(w, 280, 12, STR_INDUSTRY_DIR, 2, 0);
   794 	int dis = _current_player == OWNER_SPECTATOR ? 2 : 0;
       
   795 	PopupMainToolbMenu(w, 280, 12, STR_INDUSTRY_DIR, 2, dis);
   795 }
   796 }
   796 
   797 
   797 static void ToolbarTrainClick(Window *w)
   798 static void ToolbarTrainClick(Window *w)
   798 {
   799 {
   799 	const Vehicle* v;
   800 	const Vehicle* v;