equal
deleted
inserted
replaced
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; |