From d0895a65ceb67f601acfa6b943d45641a9d72751 Mon Sep 17 00:00:00 2001 From: yexo Date: Sat, 14 Feb 2009 20:07:05 +0000 Subject: (svn r15482) -Fix [NoAI]: Typos in api docs. --- src/ai/api/ai_company.hpp | 4 ++-- 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. -- cgit v1.2.3-54-g00ecf