Old revision #prdve2hgh | New revision #pfuhbl0yr | ||
---|---|---|---|
1 | if (company_id != INVALID_COMPANY) { | 1 | if (company_id != INVALID_COMPANY) { |
2 | if (company_id >= MAX_COMPANIES) return CMD_ERROR; | ||
2 | if (ais_to_start != 1) return CMD_ERROR; | 3 | if (ais_to_start != 1) return CMD_ERROR; |
3 | |||
4 | if (Company::IsValidID(company_id)) return CMD_ERROR; | 4 | if (Company::IsValidID(company_id)) return CMD_ERROR; |
5 | } | 5 | } |