(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
/**
|
||||
* Stop a company to be controlled by an AI.
|
||||
* @param company The company from which the AI needs to detach.
|
||||
* @pre !IsHumanCompany(company).
|
||||
* @pre Company::IsValidAiID(company)
|
||||
*/
|
||||
static void Stop(CompanyID company);
|
||||
|
||||
|
Reference in New Issue
Block a user