summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api')
-rw-r--r--src/ai/api/ai_company.hpp4
-rw-r--r--src/ai/api/ai_road.hpp2
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.