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