if (!_networking && _local_company == COMPANY_SPECTATOR && include_spectator && widget == WID_TN_COMPANIES) { bool human_company = false; for (CompanyID c = COMPANY_FIRST; c < MAX_COMPANIES; c++) { if (Company::IsValidHumanID(c)) { human_company = true; break; } } *list->Append() = new DropDownListStringItem(STR_NETWORK_COMPANY_LIST_NEW_COMPANY, CTMN_NEW_COMPANY, Company::GetNumItems() >= MAX_COMPANIES && !human_company); }