diff options
author | frosch <frosch@openttd.org> | 2009-10-28 20:15:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-10-28 20:15:46 +0000 |
commit | d01f5e9e7e78ceb22e36d5378f74b6ef4a842756 (patch) | |
tree | db5464970614a4d93fc735f9e5448d95ccf69603 /src/ai/api/ai_event_types.hpp | |
parent | 83894809d0bf63f5375cf546f3d353f5299a6442 (diff) | |
download | openttd-d01f5e9e7e78ceb22e36d5378f74b6ef4a842756.tar.xz |
(svn r17898) -Fix: [NoAI] Improve behaviour of (AIEngine|AIEventEnginePreview)::GetCargoType() and AIEngine::CanRefitCargo() wrt. articulated vehicles.
Diffstat (limited to 'src/ai/api/ai_event_types.hpp')
-rw-r--r-- | src/ai/api/ai_event_types.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp index 774df7c44..a58fd0ebb 100644 --- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -238,15 +238,15 @@ public: char *GetName(); /** - * Get the cargo-type of the offered engine. In case it can transport 2 cargos, it - * returns the first. + * Get the cargo-type of the offered engine. In case it can transport multiple cargos, it + * returns the first/main. * @return The cargo-type of the engine. */ CargoID GetCargoType(); /** - * Get the capacity of the offered engine. In case it can transport 2 cargos, it - * returns the first. + * Get the capacity of the offered engine. In case it can transport multiple cargos, it + * returns the first/main. * @return The capacity of the engine. */ int32 GetCapacity(); |