From a1d4b792e8b412f9b4a3525554257fada2302124 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 23 Jan 2009 22:09:31 +0000 Subject: (svn r15241) -Fix (r15027): NoAI API was not aware of certain newindustries 'features'. --- src/ai/api/ai_industrytype.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ai/api/ai_industrytype.hpp') diff --git a/src/ai/api/ai_industrytype.hpp b/src/ai/api/ai_industrytype.hpp index 2e38166b3..a7ef9acc1 100644 --- a/src/ai/api/ai_industrytype.hpp +++ b/src/ai/api/ai_industrytype.hpp @@ -33,6 +33,8 @@ public: /** * Get a list of CargoID possible produced by this industry-type. + * WARNING This is function only returns the default cargos of the industry type. + * Industries can specify new cargotypes on construction. * @param industry_type The type to get the CargoIDs for. * @pre IsValidIndustryType(industry_type). * @return The CargoIDs of all cargotypes this industry could produce. @@ -41,6 +43,8 @@ public: /** * Get a list of CargoID accepted by this industry-type. + * WARNING This is function only returns the default cargos of the industry type. + * Industries can specify new cargotypes on construction. * @param industry_type The type to get the CargoIDs for. * @pre IsValidIndustryType(industry_type). * @return The CargoIDs of all cargotypes this industry accepts. -- cgit v1.2.3-70-g09d2