diff options
author | frosch <frosch@openttd.org> | 2009-01-23 22:09:31 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-01-23 22:09:31 +0000 |
commit | a1d4b792e8b412f9b4a3525554257fada2302124 (patch) | |
tree | a684a4b2e814389040ffa69997da5301631bfe62 /src/ai/api/ai_industrytype.hpp | |
parent | 7b5bccb3299543c42b3fd14d2830e9d9aa37b62d (diff) | |
download | openttd-a1d4b792e8b412f9b4a3525554257fada2302124.tar.xz |
(svn r15241) -Fix (r15027): NoAI API was not aware of certain newindustries 'features'.
Diffstat (limited to 'src/ai/api/ai_industrytype.hpp')
-rw-r--r-- | src/ai/api/ai_industrytype.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
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. |