summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tilelist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_tilelist.hpp')
-rw-r--r--src/ai/api/ai_tilelist.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ai/api/ai_tilelist.hpp b/src/ai/api/ai_tilelist.hpp
index f3d2f658d..085dc756a 100644
--- a/src/ai/api/ai_tilelist.hpp
+++ b/src/ai/api/ai_tilelist.hpp
@@ -71,8 +71,10 @@ public:
/**
* @param industry_id The industry to create the AITileList around.
* @param radius The radius of the station you will be using.
+ * @pre AIIndustry::IsValidIndustry(industry_id).
+ * @pre radius > 0.
*/
- AITileList_IndustryAccepting(IndustryID industry_id, uint radius);
+ AITileList_IndustryAccepting(IndustryID industry_id, int radius);
};
/**
@@ -87,8 +89,10 @@ public:
/**
* @param industry_id The industry to create the AITileList around.
* @param radius The radius of the station you will be using.
+ * @pre AIIndustry::IsValidIndustry(industry_id).
+ * @pre radius > 0.
*/
- AITileList_IndustryProducing(IndustryID industry_id, uint radius);
+ AITileList_IndustryProducing(IndustryID industry_id, int radius);
};
/**