diff options
author | yexo <yexo@openttd.org> | 2010-08-07 20:51:53 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-07 20:51:53 +0000 |
commit | 178f74c31cd79ac248308a6fa389e5aa223b0895 (patch) | |
tree | e782722a0c69d4242fffc9e12fad9409679221d0 /src/ai/api/ai_cargolist.hpp | |
parent | af9d8824bd7d08fa512f34c02c238d0042d060a7 (diff) | |
download | openttd-178f74c31cd79ac248308a6fa389e5aa223b0895.tar.xz |
(svn r20399) -Change: [NoAI] AIIndustry::IsCargoAccepted now returns 3 possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type
Diffstat (limited to 'src/ai/api/ai_cargolist.hpp')
-rw-r--r-- | src/ai/api/ai_cargolist.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_cargolist.hpp b/src/ai/api/ai_cargolist.hpp index 2cac3e0c2..a933c1fc5 100644 --- a/src/ai/api/ai_cargolist.hpp +++ b/src/ai/api/ai_cargolist.hpp @@ -27,6 +27,8 @@ public: /** * Creates a list of cargos that the given industry accepts. + * @note This list also includes cargos that are temporarily not accepted + * by this industry, @see AIIndustry::IsCargoAccepted. * @ingroup AIList */ class AICargoList_IndustryAccepting : public AIAbstractList { |