diff options
author | yexo <yexo@openttd.org> | 2009-02-14 20:07:05 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-14 20:07:05 +0000 |
commit | 92fc2e692ca0826729bdb39b967142aa1534c241 (patch) | |
tree | 58e44c8f6c903835f00eecdb39ea3f2e1e7d4550 | |
parent | 37819fc8c59f7eb3e38e1831b2db6db497e194e6 (diff) | |
download | openttd-92fc2e692ca0826729bdb39b967142aa1534c241.tar.xz |
(svn r15482) -Fix [NoAI]: Typos in api docs.
-rw-r--r-- | src/ai/api/ai_company.hpp | 4 | ||||
-rw-r--r-- | src/ai/api/ai_road.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ai/api/ai_company.hpp b/src/ai/api/ai_company.hpp index 9a3e324ea..b08415dd7 100644 --- a/src/ai/api/ai_company.hpp +++ b/src/ai/api/ai_company.hpp @@ -92,7 +92,7 @@ public: * Sets the amount to loan. * @param loan The amount to loan (multiplier of GetLoanInterval()). * @pre 'loan' must be non-negative. - * @pre GetLoanInterval() must be a multiplier of GetLoanInterval(). + * @pre GetLoanInterval() must be a multiplier of 'loan'. * @pre 'loan' must be below GetMaxLoanAmount(). * @pre 'loan' - GetLoanAmount() + GetBankBalance() must be non-negative. * @return True if the loan could be set to your requested amount. @@ -104,7 +104,7 @@ public: * @param loan The amount to loan (any positive number). * @pre 'loan' must be non-negative. * @pre 'loan' must be below GetMaxLoanAmount(). - * @return True if we could allocate a minimum of "loan" loan. + * @return True if we could allocate a minimum of 'loan' loan. */ static bool SetMinimumLoanAmount(int32 loan); diff --git a/src/ai/api/ai_road.hpp b/src/ai/api/ai_road.hpp index c80f63177..875f935ad 100644 --- a/src/ai/api/ai_road.hpp +++ b/src/ai/api/ai_road.hpp @@ -320,7 +320,7 @@ public: /** * Builds a road bus or truck station. - * @param tile Place to build the depot. + * @param tile Place to build the station. * @param front The tile exactly in front of the station. * For drive-through stations either entrance side can be used. * @param truck Whether to build a truck (true) or bus (false) station. |